File boinc-client-hostinfo.patch of Package boinc-client

diff -uNrp boinc_core_release_6_4_5/client/hostinfo_unix.cpp boinc_core_release_6_4_5p/client/hostinfo_unix.cpp
--- boinc_core_release_6_4_5/client/hostinfo_unix.cpp	2009-02-07 10:14:39.000000000 +0100
+++ boinc_core_release_6_4_5p/client/hostinfo_unix.cpp	2009-03-16 19:54:17.000000000 +0100
@@ -293,6 +293,7 @@ bool HOST_INFO::host_is_running_on_batte
         method = NoBattery;
         // fall through
     case NoBattery:
+    default:
          // we have no way to determine if we're on batteries,
          // so we say we aren't
         return false;
openSUSE Build Service is sponsored by