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