summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7a19aac)
Uninitialized variables lead to mysterious results.
Signed-off-by: Keith Packard <keithp@keithp.com>
int c;
int serial;
char *s;
int c;
int serial;
char *s;
- char *summary_name, *detail_name;
+ char *summary_name = NULL, *detail_name = NULL;
while ((c = getopt_long(argc, argv, "S:D:", options, NULL)) != -1) {
switch (c) {
while ((c = getopt_long(argc, argv, "S:D:", options, NULL)) != -1) {
switch (c) {