UlricE / pen

Pen
Other
250 stars 41 forks source link

fix valgrind warning. initialized event structure #14

Closed mirchr closed 8 years ago

mirchr commented 8 years ago
==10136== Syscall param epoll_ctl(event) points to uninitialised byte(s)
==10136==    at 0x38CCCE8E9A: epoll_ctl (syscall-template.S:82)
==10136==    by 0x409D34: epoll_event_ctl (epoll.c:28)
==10136==    by 0x407727: mainloop (pen.c:2215)
==10136==    by 0x408DEC: main (pen.c:2545)
==10136==  Address 0x7ff000018 is on thread 1's stack
==10136==
==10136== Syscall param epoll_ctl(event) points to uninitialised byte(s)
==10136==    at 0x38CCCE8E9A: epoll_ctl (syscall-template.S:82)
==10136==    by 0x409D34: epoll_event_ctl (epoll.c:28)
==10136==    by 0x407748: mainloop (pen.c:2217)
==10136==    by 0x408DEC: main (pen.c:2545)
==10136==  Address 0x7ff000018 is on thread 1's stack
==10136==                                                             
==10136== Syscall param epoll_ctl(event) points to uninitialised byte(s)
==10136==    at 0x38CCCE8E9A: epoll_ctl (syscall-template.S:82)          
==10136==    by 0x409D34: epoll_event_ctl (epoll.c:28)             
==10136==    by 0x408028: mainloop (pen.c:2099)          
==10136==    by 0x408DEC: main (pen.c:2545)
==10136==  Address 0x7ff000018 is on thread 1's stack           
==10136== 
UlricE commented 8 years ago

Merged.