From b176b22c4f9b05492dac96252c96eb50bf474512 Mon Sep 17 00:00:00 2001 From: "sspitzer%netscape.com" Date: Thu, 1 Jul 1999 08:48:06 +0000 Subject: [PATCH] fix warning git-svn-id: svn://10.0.0.236/trunk@37686 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/tools/registry/regExport.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mozilla/xpcom/tools/registry/regExport.cpp b/mozilla/xpcom/tools/registry/regExport.cpp index f3e9b3c1929..c9b35b1cb8b 100644 --- a/mozilla/xpcom/tools/registry/regExport.cpp +++ b/mozilla/xpcom/tools/registry/regExport.cpp @@ -235,11 +235,11 @@ static void displayValues( nsIRegistry *reg, nsIRegistry::Key root ) { // Print value contents. switch ( type ) { case nsIRegistry::String: { - char *value; - rv = reg->GetString( root, name, &value ); + char *strValue; + rv = reg->GetString( root, name, &strValue ); if ( rv == NS_OK ) { - printString( value, strlen(name) ); - PR_Free( value ); + printString( strValue, strlen(name) ); + PR_Free( strValue ); } else { printf( "\t Error getting string value, rv=0x%08X", (int)rv ); }