diff options
author | joerg <joerg@pkgsrc.org> | 2013-01-17 16:01:38 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-01-17 16:01:38 +0000 |
commit | 689882f1e3f5ead1b0a919e0797c0eaf0ab5f041 (patch) | |
tree | efc31e299ca58aacb534c7a6e2f70618c9814676 /net/xipdump/patches | |
parent | c77aef090cd12b40bfad826755c894ffa6c490d5 (diff) | |
download | pkgsrc-689882f1e3f5ead1b0a919e0797c0eaf0ab5f041.tar.gz |
Add missing return values.
Diffstat (limited to 'net/xipdump/patches')
-rw-r--r-- | net/xipdump/patches/patch-XmgDict.c | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/net/xipdump/patches/patch-XmgDict.c b/net/xipdump/patches/patch-XmgDict.c new file mode 100644 index 00000000000..742f3f06287 --- /dev/null +++ b/net/xipdump/patches/patch-XmgDict.c @@ -0,0 +1,31 @@ +$NetBSD: patch-XmgDict.c,v 1.1 2013/01/17 16:01:38 joerg Exp $ + +--- XmgDict.c.orig 2013-01-16 11:25:14.000000000 +0000 ++++ XmgDict.c +@@ -27,7 +27,7 @@ XFontStruct *xfs; + + if (he = dict_get(XmgXFSDict,name)) + { +- return ; ++ return 0; + } + else + return (dict_add(XmgXFSDict, +@@ -71,7 +71,7 @@ Pixel pixel; + { + if (cmap == x->cmap) + { +- return ; ++ return 0; + } + } + VEC_ENDFOR; +@@ -158,7 +158,7 @@ Pixmap pixmap; + { + if (depth == x->depth) + { +- return ; ++ return 0; + } + } + VEC_ENDFOR; |