fix shadow variable names warnings
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7645 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 0af1802e5fdafa8544fb97bff1dc682cc7c6ad31 Former-commit-id: a39b4b030b18817d95b50393f23f0fb3312fa8f5
This commit is contained in:
parent
427ac44f46
commit
354a13dd43
1 changed files with 2 additions and 2 deletions
|
@ -128,7 +128,7 @@ bool GfFileCopy(const char* pszSrcName, const char* pszTgtName)
|
|||
struct stat st;
|
||||
if (! stat(pszTgtName, &st) && chmod( pszTgtName, 0640 ))
|
||||
{
|
||||
const int errnum = errno; // Get errno before it is overwritten by some system call.
|
||||
errnum = errno; // Get errno before it is overwritten by some system call.
|
||||
GfLogWarning("Failed to set 0640 attributes to %s (%s)\n",
|
||||
pszTgtName, strerror(errnum));
|
||||
}
|
||||
|
@ -190,7 +190,7 @@ bool GfFileCopy(const char* pszSrcName, const char* pszTgtName)
|
|||
// Set target file access attributes to "read/write for the current user".
|
||||
if (chmod( pszTgtName, 0640 ))
|
||||
{
|
||||
const int errnum = errno; // Get errno before it is overwritten by some system call.
|
||||
errnum = errno; // Get errno before it is overwritten by some system call.
|
||||
GfLogWarning("Failed to set 0640 attributes to %s (%s)\n",
|
||||
pszTgtName, strerror(errnum));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue