all: fix or silence various gcc warnings
As usual, gcc finds some real problems but also reports a ton of noise. Fix the problems and quiet the noise.
This commit is contained in:
parent
fa325e9b42
commit
fafa622a5b
17 changed files with 27 additions and 22 deletions
|
|
@ -290,6 +290,8 @@ p9crresp(ServerState *s, uchar *resp, int resplen)
|
|||
Ticket t;
|
||||
Ticketreq tr;
|
||||
|
||||
memset(&tr, 0, sizeof tr); // TODO: what should tr be initialized to?
|
||||
|
||||
if(xiowrite(s->asfd, resp, resplen) != resplen)
|
||||
return -1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue