mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed variable shadowing a parameter
This commit is contained in:
parent
1cdb971cf1
commit
66268c8267
@ -277,7 +277,7 @@ bool doPortRestrictions = false;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
int RsInit::InitRetroShare(int argc, char **argv, bool /* strictCheck */)
|
||||
int RsInit::InitRetroShare(int _argc, char **_argv, bool /* strictCheck */)
|
||||
{
|
||||
/******************************** WINDOWS/UNIX SPECIFIC PART ******************/
|
||||
#ifdef WINDOWS_SYS
|
||||
@ -310,6 +310,9 @@ int RsInit::InitRetroShare(int argc, char **argv, bool /* strictCheck */)
|
||||
}
|
||||
}
|
||||
argc = i;
|
||||
#else
|
||||
char **argv = _argv ;
|
||||
int argc = _argc ;
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG_RSINIT
|
||||
|
Loading…
Reference in New Issue
Block a user