summaryrefslogtreecommitdiff
path: root/plugins/ini/src/ini.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ini/src/ini.cpp')
-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;