summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2002-09-04 01:29:48 +0000
committerwtc%netscape.com <devnull@localhost>2002-09-04 01:29:48 +0000
commit22f8fb3f51a5d945808e66aa3bc8e17ae8600408 (patch)
tree38f049d68a11ba22895e7b570b7396f47586beae
parentdc1052a859a8906860ff9499bb4bbde4b0f06282 (diff)
downloadnspr-hg-22f8fb3f51a5d945808e66aa3bc8e17ae8600408.tar.gz
Bug 166257: declare 'temp' with #if DEBUG because it is only used in code
that is ifdef'd with DEBUG. Thanks to timeless@bemail.org for the patch.
-rw-r--r--pr/src/md/mac/macio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pr/src/md/mac/macio.c b/pr/src/md/mac/macio.c
index ef404db5..f8448191 100644
--- a/pr/src/md/mac/macio.c
+++ b/pr/src/md/mac/macio.c
@@ -1296,7 +1296,9 @@ ConvertUnixPathToMacPath(const char *unixPath, char **macPath)
FSSpec foundSpec;
short pathBufferSize;
+#if DEBUG
char *temp;
+#endif
int tempLen;
// Are we dealing with the temp folder?