[Kde-imaging] [kipi-plugins] panorama/importwizard: this doesn't compile, please return a default value

Andi Clemens andi.clemens at googlemail.com
Thu Aug 18 20:47:46 UTC 2011


Git commit 2d05c7993d17de13d82f86e7b10ee2fc5764a81d by Andi Clemens.
Committed on 18/08/2011 at 22:47.
Pushed by aclemens into branch 'master'.

this doesn't compile, please return a default value

CCMAIL:kde-imaging at kde.org

M  +1    -0    panorama/importwizard/lastpage.cpp

http://commits.kde.org/kipi-plugins/2d05c7993d17de13d82f86e7b10ee2fc5764a81d

diff --git a/panorama/importwizard/lastpage.cpp b/panorama/importwizard/lastpage.cpp
index e5815f6..36fb10c 100644
--- a/panorama/importwizard/lastpage.cpp
+++ b/panorama/importwizard/lastpage.cpp
@@ -214,6 +214,7 @@ QString LastPage::panoFileName(const QString& fileTemplate) const
             return fileTemplate + ".jpg";
         case ActionThread::TIFF:
             return fileTemplate + ".tif";
+        default: // FIXME: this doesn't compile with GCC 4.6.1 (-Werror=return-type)A
     }
 }
 


More information about the Kde-imaging mailing list