From b0012fbdbba3d37fe02f994c38a6836885b469ad 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. --- profile/src/nsProfile.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/profile/src/nsProfile.cpp b/profile/src/nsProfile.cpp index cfdd1e92dd4..3bf6b2d15a5 100644 --- a/profile/src/nsProfile.cpp +++ b/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;