Mercurial > hg > sidinfo
changeset 115:6843261b4cd6
Cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 15 Feb 2016 11:33:36 +0200 |
parents | cc74a9871a44 |
children | d062312ea850 |
files | sidinfo.c |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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");