opmphm: simplify allocator
@@ -520,16 +520,7 @@ void opmphmGraphDel (OpmphmGraph * graph)
*/
Opmphm * opmphmNew (void)
{
- Opmphm * out = elektraCalloc (sizeof (Opmphm));
- if (!out)
- {
- return NULL;
- }
- out->size = 0;
- out->rUniPar = 0;
- out->componentSize = 0;
- out->flags = 0;
- return out;
+ return elektraCalloc (sizeof (Opmphm));
}
/**
