]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- removed redundant return statement
authorArvin Schnell <aschnell@suse.de>
Mon, 19 Sep 2011 13:06:00 +0000 (15:06 +0200)
committerArvin Schnell <aschnell@suse.de>
Mon, 19 Sep 2011 13:06:00 +0000 (15:06 +0200)
snapper/File.cc

index b0ec47ee27b17fc2e76fe5c7f32306c03f107add..3d7fe235eca38d1542d53a716e7f61e1ec79b3f4 100644 (file)
@@ -182,18 +182,16 @@ namespace snapper
                File file(comparison, name, status);
                entries.push_back(file);
            }
-
-           sort(entries.begin(), entries.end());
-
-           y2mil("read " << entries.size() << " lines");
-
-           return true;
        }
        catch (const FileNotFoundException& e)
        {
            return false;
        }
 
+       sort(entries.begin(), entries.end());
+
+       y2mil("read " << entries.size() << " lines");
+
        return true;
     }