From 6699a596ed439d25c5a803ae361fabdcd630d632 Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Sat, 20 Sep 2008 10:32:59 +0000 Subject: Fixed "empty control statement" warning in FSDirectory::matchPattern(). svn-id: r34605 --- common/archive.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') diff --git a/common/archive.cpp b/common/archive.cpp index 96ecb52315..7e17fdca32 100644 --- a/common/archive.cpp +++ b/common/archive.cpp @@ -175,7 +175,7 @@ int FSDirectory::matchPattern(StringList &list, const String &pattern) { // Add all filenames from our cache NodeCache::iterator it = _fileCache.begin(); for ( ; it != _fileCache.end(); it++) { - if (it->_key.matchString(pattern)); + if (it->_key.matchString(pattern)) list.push_back(it->_key); } -- cgit v1.2.3