summaryrefslogtreecommitdiff
path: root/plugins/ini
diff options
context:
space:
mode:
authorErkin Bahceci <erkinbah@gmail.com>2009-07-14 17:01:03 -0500
committerErkin Bahceci <erkinbah@gmail.com>2009-07-14 17:01:03 -0500
commit7bd88f8224b31f13d66c0973b5109e665600097d (patch)
treec3ea6fa694a35aeeec7c7a4f6fe574d02bbe0080 /plugins/ini
parentcc702274d8e5da0cb606224f4d920d0beef4714c (diff)
downloadcompiz-with-glib-mainloop-7bd88f8224b31f13d66c0973b5109e665600097d.tar.gz
compiz-with-glib-mainloop-7bd88f8224b31f13d66c0973b5109e665600097d.tar.bz2
Fix some compiler warnings.
Diffstat (limited to 'plugins/ini')
-rw-r--r--plugins/ini/src/ini.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/ini/src/ini.cpp b/plugins/ini/src/ini.cpp
index 7c3948a..cf03d2a 100644
--- a/plugins/ini/src/ini.cpp
+++ b/plugins/ini/src/ini.cpp
@@ -196,6 +196,8 @@ IniFile::optionValueToString (CompOption::Value &value,
case CompOption::TypeMatch:
retval = value.match ().toString ();
break;
+ default:
+ break;
}
return retval;
@@ -366,6 +368,9 @@ IniFile::stringToOptionValue (CompString &string,
action.setBell (false);
else
retval = false;
+ break;
+ default:
+ break;
}
if (retval)
@@ -378,6 +383,8 @@ IniFile::stringToOptionValue (CompString &string,
value.set (match);
}
break;
+ default:
+ break;
}
return retval;