# HG changeset patch # User Matti Hamalainen # Date 1455528816 -7200 # Node ID 6843261b4cd6bc4dd8f1156f4bcae0ffea0cbb43 # Parent cc74a9871a44aab76043cf07da4542b7af758d58 Cleanups. diff -r cc74a9871a44 -r 6843261b4cd6 sidinfo.c --- a/sidinfo.c Mon Feb 15 11:11:04 2016 +0200 +++ b/sidinfo.c Mon Feb 15 11:33:36 2016 +0200 @@ -497,7 +497,6 @@ } siPrintFieldSeparator(outFile); break; - } } @@ -585,13 +584,13 @@ if (optFieldOutput && !optFormat.nitems) { + PSFStackItem item; int i; + memset(&item, 0, sizeof(item)); siClearStack(&optFormat); for (i = 0; i < noptPSOptions; i++) { - PSFStackItem item; item.cmd = i; - item.str = NULL; siStackAddItem(&optFormat, &item); } } @@ -615,7 +614,7 @@ goto err; } - THMSG(0, "Reading SLDB.\n"); + THMSG(1, "Reading SLDB.\n"); if ((sidSLDB = si_sldb_new()) == NULL) { THERR("Could not allocate SLDB structure!\n");