summaryrefslogtreecommitdiff
path: root/src/workspace.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/workspace.c')
-rw-r--r--src/workspace.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/workspace.c b/src/workspace.c
index dedde22..c608bbb 100644
--- a/src/workspace.c
+++ b/src/workspace.c
@@ -246,6 +246,7 @@ meta_workspace_index (MetaWorkspace *workspace)
}
meta_bug ("Workspace does not exist to index!\n");
+ return -1; /* compiler warnings */
}
int
@@ -270,6 +271,7 @@ meta_workspace_screen_index (MetaWorkspace *workspace)
}
meta_bug ("Workspace does not exist to index!\n");
+ return -1; /* compiler warnings */
}
/* get windows contained on workspace, including workspace->windows