TOTAL GNU DEATH

This commit is contained in:
anon
2024-02-22 19:05:19 +01:00
parent 1ada39fce4
commit 84c844964e
3 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,7 @@
ACLOCAL_AMFLAGS = -I build-aux/m4
AM_CFLAGS = -DYYDEBUG=1
AM_CFLAGS = -DYYDEBUG=1
AM_CFLAGS += -DSILENT
bin_PROGRAMS = sql

View File

@ -92,4 +92,3 @@ AC_SUBST(JANSSON_LIBS)
AC_SUBST(LIBTOOL_APP_LDFLAGS)
AC_SUBST(BUILD_EXEEXT)
AC_OUTPUT

View File

@ -69,8 +69,10 @@ static const char *cmp_names[] = {
static void print_and_free(json_t *jval)
{
#ifndef SILENT
json_dumpf(jval, stdout, JSON_COMPACT | JSON_SORT_KEYS);
printf("\n");
#endif
json_decref(jval);
}