From cc4d653cf031308d3d915e89ea8d71247cc459ef Mon Sep 17 00:00:00 2001 From: "sspitzer%netscape.com" Date: Fri, 16 Jul 1999 07:12:42 +0000 Subject: [PATCH] fix warning on linux. these are unused because we only migrate accounts on windows right now. git-svn-id: svn://10.0.0.236/trunk@39665 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/profile/src/nsProfile.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mozilla/profile/src/nsProfile.cpp b/mozilla/profile/src/nsProfile.cpp index cfdd1e92dd4..3bf6b2d15a5 100644 --- a/mozilla/profile/src/nsProfile.cpp +++ b/mozilla/profile/src/nsProfile.cpp @@ -85,9 +85,12 @@ static int g_Count = 0; static char gProfiles[_MAX_NUM_PROFILES][_MAX_LENGTH] = {{'\0'}}; static int g_numProfiles = 0; +// we only migrate prefs on windows right now. +#ifdef XP_PC static char gOldProfiles[_MAX_NUM_PROFILES][_MAX_LENGTH] = {{'\0'}}; static char gOldProfLocations[_MAX_NUM_PROFILES][_MAX_LENGTH] = {{'\0'}}; static int g_numOldProfiles = 0; +#endif static PRBool renameCurrProfile = PR_FALSE;