diff options
author | joerg <joerg@pkgsrc.org> | 2012-12-20 21:36:03 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-12-20 21:36:03 +0000 |
commit | 431bd1dc6b7580a556d957f9b2b3657cbed8db99 (patch) | |
tree | 37a68182f62fc0a84cdf0ee78697f5b1ceba5e44 /time/polclock | |
parent | 6166bdf7e4f52ce84d5e4a316c324f0b67bdf70d (diff) | |
download | pkgsrc-431bd1dc6b7580a556d957f9b2b3657cbed8db99.tar.gz |
Consistently return a value in non-void functions.
Diffstat (limited to 'time/polclock')
-rw-r--r-- | time/polclock/patches/patch-polsys.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/time/polclock/patches/patch-polsys.c b/time/polclock/patches/patch-polsys.c new file mode 100644 index 00000000000..1c49372bc96 --- /dev/null +++ b/time/polclock/patches/patch-polsys.c @@ -0,0 +1,13 @@ +$NetBSD: patch-polsys.c,v 1.1 2012/12/20 21:36:03 joerg Exp $ + +--- polsys.c.orig 2012-12-20 16:08:50.000000000 +0000 ++++ polsys.c +@@ -1079,7 +1079,7 @@ unsigned long GetPixelByRGB(Color cl, in + } + } + +- return ; ++ return 0; + } + + /* SetupWindow() で生成したウィンドウを破棄する |