diff --git a/examples/utility.c b/examples/utility.c index 321a3ab691a09ad6adca26d3ea50a873ebd26208..ef6ee10ce12c08c53e4b6468aeac99225c09e65b 100644 --- a/examples/utility.c +++ b/examples/utility.c @@ -2,14 +2,6 @@ #include #include -void check(const char* phase, int code) { - if (code < 0) { - printf("ERR %d in phase `%s`. Err was `%s`\nEXITING!\n", - code, phase, connector_error_peek()); - exit(1); - } -} - // allocates a buffer! char * buffer_pdl(char * filename) { FILE *f = fopen(filename, "rb");