summaryrefslogtreecommitdiffstats
path: root/xlib
diff options
context:
space:
mode:
Diffstat (limited to 'xlib')
-rw-r--r--xlib/xgc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/xlib/xgc.c b/xlib/xgc.c
index 873dcce..834a2c4 100644
--- a/xlib/xgc.c
+++ b/xlib/xgc.c
@@ -107,9 +107,6 @@ XCreateGC(
*/
gp = (GC)ckalloc(sizeof(XGCValuesWithDash));
- if (!gp) {
- return NULL;
- }
#define InitField(name,maskbit,default) \
(gp->name = (mask & (maskbit)) ? values->name : (default))