lib/sod-hosted.c (sod_makev): Use two statements rather than tricky expression.
[sod] / lib / sod-hosted.c
index 5b6e378..32aabec 100644 (file)
@@ -100,7 +100,7 @@ void *sod_makev(const SodClass *cls, va_list ap)
 {
   void *p;
 
-  if ((p = malloc(cls->cls.initsz)) == 0) return (0);
+  p = malloc(cls->cls.initsz); if (!p) return (0);
   return (sod_initv(cls, p, ap));
 }