diff options
author | Pascal Terjan <pterjan@gmail.com> | 2023-05-05 19:58:15 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@gmail.com> | 2023-05-05 20:11:13 +0000 |
commit | 439e249b3e8696c8eac136a846d5d5bdffc071a1 (patch) | |
tree | 9c8ec943233a60661d210ff8e7284640f4a95221 /perl-install/any.pm | |
parent | 1019fe7a475095637bb26410ff4839215e4eaac7 (diff) | |
download | drakx-439e249b3e8696c8eac136a846d5d5bdffc071a1.tar drakx-439e249b3e8696c8eac136a846d5d5bdffc071a1.tar.gz drakx-439e249b3e8696c8eac136a846d5d5bdffc071a1.tar.bz2 drakx-439e249b3e8696c8eac136a846d5d5bdffc071a1.tar.xz drakx-439e249b3e8696c8eac136a846d5d5bdffc071a1.zip |
Fix a build failure with -Werror=address
dhcp.c: In function ‘parse_reply’:
dhcp.c:216:13: error: the comparison will always evaluate as ‘true’ for the address of ‘bootfile’ will never be NULL [-Werror=address]
216 | if (breq->bootfile && strlen(breq->bootfile) > 0) {
| ^~~~
dhcp.c:102:14: note: ‘bootfile’ declared here
102 | char bootfile[128];
| ^~~~~~~~
cc1: all warnings being treated as errors
Diffstat (limited to 'perl-install/any.pm')
0 files changed, 0 insertions, 0 deletions