]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
Fix "warning: no return statement in function returning non-void"
authorMartin Vidner <mvidner@suse.cz>
Mon, 14 Oct 2019 13:35:36 +0000 (15:35 +0200)
committerMartin Vidner <mvidner@suse.cz>
Tue, 15 Oct 2019 12:42:19 +0000 (14:42 +0200)
warning: no C++ warnings found :-)

snapper/Ext4.cc

index 313fd31d575f5eb4b85d9d1257bc6e5230694568..9690a46c6e95099816ad1ee7dc01758439027b96 100644 (file)
@@ -153,6 +153,8 @@ namespace snapper
     Ext4::openInfosDir() const
     {
        // TODO
+       SDir not_there("/dev/null");
+       return not_there;
     }
 
 
@@ -160,6 +162,8 @@ namespace snapper
     Ext4::openSnapshotDir(unsigned int num) const
     {
        // TODO
+       SDir not_there("/dev/null");
+       return not_there;
     }