summaryrefslogtreecommitdiff
path: root/src/wm-tester/test-resizing.c
diff options
context:
space:
mode:
authorElijah Newren <newren gmail com>2006-01-20 22:03:56 +0000
committerElijah Newren <newren@src.gnome.org>2006-01-20 22:03:56 +0000
commit32d4bd6b63a9a5fe044248740e2dfa9050c1fbb6 (patch)
treea3ff366ed37c68e988ff73eb6dca50a822ca856a /src/wm-tester/test-resizing.c
parent4c10722262a8a5f0fc1f4e931867e2a4b6363199 (diff)
downloadmetacity-32d4bd6b63a9a5fe044248740e2dfa9050c1fbb6.tar.gz
metacity-32d4bd6b63a9a5fe044248740e2dfa9050c1fbb6.tar.bz2
Patch from Kjartan Maraas to fix a lot of tiny issues (unused variable
2006-01-20 Elijah Newren <newren gmail com> * src/async-getprop.c: * src/common.h: * src/display.c: * src/eggaccelerators.c: * src/frames.c: * src/gradient.c: * src/iconcache.c: * src/keybindings.c: * src/metaaccellabel.c: * src/place.c: * src/prefs.c: * src/preview-widget.c: * src/screen.c: * src/session.c: * src/stack.c: * src/tabpopup.c: * src/theme-viewer.c: * src/theme.c: * src/window-props.c: * src/window.c: * src/workspace.c: * src/tools/metacity-window-demo.c: * src/wm-tester/test-gravity.c: * src/wm-tester/test-resizing.c: * src/wm-tester/test-size-hints.c: Patch from Kjartan Maraas to fix a lot of tiny issues (unused variable removal, making unused variables used again, correction of types passed/declared for printf arguments, removal of unneeded breaks and returns, dead code removal, dead code revival, renaming to prevent shadowed variables, declaring unexported functions as static) spotted by the intel compiler. #321439
Diffstat (limited to 'src/wm-tester/test-resizing.c')
-rw-r--r--src/wm-tester/test-resizing.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/wm-tester/test-resizing.c b/src/wm-tester/test-resizing.c
index 479fc69..6bf5993 100644
--- a/src/wm-tester/test-resizing.c
+++ b/src/wm-tester/test-resizing.c
@@ -249,7 +249,9 @@ main (int argc, char **argv)
redraw_pending = FALSE;
}
}
-
- return 0;
+
+ /* This program has an infinite loop above so a return statement would
+ * just cause compiler warnings.
+ */
}