ac9326
diff -up digikam-1.8.0/libs/threads/dynamicthread.cpp.gcc46 digikam-1.8.0/libs/threads/dynamicthread.cpp
ac9326
--- digikam-1.8.0/libs/threads/dynamicthread.cpp.gcc46	2011-01-23 13:27:56.000000000 -0600
9fa093
+++ digikam-1.8.0/libs/threads/dynamicthread.cpp	2011-02-04 10:05:11.969447213 -0600
ac9326
@@ -257,6 +257,12 @@ bool DynamicThread::DynamicThreadPriv::t
ac9326
             kDebug() << "Transition to Running: Invalid Inactive state" << q;
ac9326
             return false;
ac9326
         }
ac9326
+	// fix gcc-4.6 failure --  error: control reaches end of non-void function [-Werror=return-type]
9fa093
+	default:
ac9326
+        {
9fa093
+            kDebug() << "libs/threads/dynanamicthread.cpp : Should never reach here: assert?" << q;
ac9326
+            return false;
ac9326
+        }
ac9326
     }
ac9326
 }
ac9326