From 23aa1404be91d21d4369ae0f517132e66bc8a1b4 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Sun, 6 Apr 2014 19:30:22 +0000 Subject: [PATCH] avoid warning about shadowed variable git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/fswatchercmn.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/fswatchercmn.cpp b/src/common/fswatchercmn.cpp index a31549b753..f869a8890e 100644 --- a/src/common/fswatchercmn.cpp +++ b/src/common/fswatchercmn.cpp @@ -143,8 +143,8 @@ wxFileSystemWatcherBase::AddAny(const wxFileName& path, } else { - wxFSWatchInfo& watch = it->second; - int count = watch.IncRef(); + wxFSWatchInfo& watch2 = it->second; + int count = watch2.IncRef(); wxLogTrace(wxTRACE_FSWATCHER, "'%s' is now watched %d times", canonical, count); }