Skip to content

Commit

Permalink
Fix: warning reported by ccc-analyzer
Browse files Browse the repository at this point in the history
File:	nasl/nasl_frame_forgery.c
Warning:	line 553, column 7
Branch condition evaluates to a garbage value
  • Loading branch information
jjnicola committed Oct 21, 2022
1 parent 5e1e612 commit 9009246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nasl/nasl_frame_forgery.c
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ nasl_send_arp_request (lex_ctxt *lexic)
u_char mac_broadcast_addr[6] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
u_char mac[6], *mac_aux;
char filter[255];
u_char *answer;
u_char *answer = NULL;
int answer_sz;
int to = get_int_var_by_name (lexic, "pcap_timeout", 5);

Expand Down

0 comments on commit 9009246

Please sign in to comment.