]> diplodocus.org Git - nmh/blobdiff - uip/picksbr.c
Put parameter names in h/utils.h memory function prototypes.
[nmh] / uip / picksbr.c
index 3c2107c27c0bdf2e0836e6dcd25c550026ea90c7..99d976d7246f0ec62067ed9c4f84a69b7bd9fe62 100644 (file)
@@ -459,9 +459,7 @@ newnexus (int (*action)())
 {
     register struct nexus *p;
 
 {
     register struct nexus *p;
 
-    if ((p = (struct nexus *) mh_xcalloc ((size_t) 1, sizeof *p)) == NULL)
-       adios (NULL, "unable to allocate component storage");
-
+    p = mh_xcalloc(1, sizeof *p);
     p->n_action = action;
     return p;
 }
     p->n_action = action;
     return p;
 }