Skip to content

Commit f0822cc

Browse files
committed
Get rid of useless blank lines
1 parent 852fefa commit f0822cc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

snmp_bulkget.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,9 @@ main(int argc, char *argv[])
10211021
free(ins);
10221022
free(outs);
10231023
}
1024-
addstr(&perf, "\n");
1024+
if (perf.len > 0u && perf.text[(perf.len - 1u)] != '\n') {
1025+
addstr(&perf, "\n");
1026+
}
10251027
}
10261028
}
10271029

0 commit comments

Comments
 (0)