commit 9acbf3b00da6c6cbc3351a7b811442417d554830
parent 3178869da055c4b8020db9d65ba189b9dcfb44df
Author: Frederic Cambus <fred@statdns.com>
Date: Thu, 4 Oct 2018 09:52:05 +0200
Comparison of array 'record->tinfos' not equal to a null pointer is always true
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/main.c b/src/main.c
@@ -344,9 +344,7 @@ int main(int argc, char *argv[]) {
if (record->tinfo4 != 0) {
fprintf(stderr, "Tinfo4: %d\n", record->tinfo4);
}
- if (record->tinfos != 0) {
- fprintf(stderr, "Tinfos: %s\n", record->tinfos);
- }
+ fprintf(stderr, "Tinfos: %s\n", record->tinfos);
if (record->comments > 0) {
fprintf(stderr, "Comments: ");
for (int32_t i = 0; i < record->comments; i++) {