diff --git a/kicad/project_tree_pane.cpp b/kicad/project_tree_pane.cpp index 6d28a0a6ff..86035f0f92 100644 --- a/kicad/project_tree_pane.cpp +++ b/kicad/project_tree_pane.cpp @@ -1479,10 +1479,10 @@ void PROJECT_TREE_PANE::FileWatcherReset() kid = m_TreeProject->GetNextChild( root_id, cookie ); } -#endif if( total_watch_count >= ADVANCED_CFG::GetCfg().m_MaxFilesystemWatchers ) wxLogTrace( tracePathsAndFiles, "%s: too many directories to watch\n", __func__ ); +#endif #if defined(DEBUG) && 1 wxArrayString paths;