summaryrefslogtreecommitdiff
path: root/src/action.cpp
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@compiz-fusion.org>2008-08-25 13:52:46 +0200
committerDennis Kasprzyk <onestone@compiz-fusion.org>2008-08-25 13:52:46 +0200
commit899020fc33bcb911c7aa8009dcb24dbdbcee55e0 (patch)
treeafb70087016068056d2c0208b8df9e812b10802c /src/action.cpp
parent01de7f76fae910780b90bc490793010211bf1d9f (diff)
downloadunity-window-decorator-899020fc33bcb911c7aa8009dcb24dbdbcee55e0.tar.gz
unity-window-decorator-899020fc33bcb911c7aa8009dcb24dbdbcee55e0.tar.bz2
Shut up compiler warnings.
Diffstat (limited to 'src/action.cpp')
-rw-r--r--src/action.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/action.cpp b/src/action.cpp
index 90fd243..e456bda 100644
--- a/src/action.cpp
+++ b/src/action.cpp
@@ -154,7 +154,8 @@ bool
CompAction::KeyBinding::fromString (CompDisplay *d, const CompString str)
{
CompString sStr;
- unsigned int mods, pos;
+ unsigned int mods;
+ size_t pos;
KeySym keysym;
mods = stringToModifiers (d, str);
@@ -261,7 +262,8 @@ CompAction::ButtonBinding::button ()
bool
CompAction::ButtonBinding::fromString (CompDisplay *d, const CompString str)
{
- unsigned int mods, pos;
+ unsigned int mods;
+ size_t pos;
mods = stringToModifiers (d, str);
@@ -467,7 +469,8 @@ CompAction::buttonFromString (CompDisplay *d, const CompString str)
void
CompAction::edgeMaskFromString (const CompString str)
{
- unsigned int edgeMask = 0, pos;
+ unsigned int edgeMask = 0;
+ size_t pos;
for (int i = 0; i < SCREEN_EDGE_NUM; i++)
{