diff options
author | fvogel <fvogelnew1@free.fr> | 2022-08-20 13:32:40 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2022-08-20 13:32:40 (GMT) |
commit | 47cb8e339368de9b6385f7ee0f2622cfbf527eac (patch) | |
tree | 9a40a57b7bffa70918e87ab0fddf6335865336a4 /xlib | |
parent | 941c193bfe6401621941d1f6c3106850b430189b (diff) | |
parent | e007a4242506207d5eacef0f7d28047c455a969e (diff) | |
download | tk-47cb8e339368de9b6385f7ee0f2622cfbf527eac.zip tk-47cb8e339368de9b6385f7ee0f2622cfbf527eac.tar.gz tk-47cb8e339368de9b6385f7ee0f2622cfbf527eac.tar.bz2 |
Fix [71b1e5e331]: xgc.c: useless NULL check in XCreateGC(). Thanks to Christopher Chavez.
Diffstat (limited to 'xlib')
-rw-r--r-- | xlib/xgc.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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)) |