Removed surplus code statement which used uninitialized variable. Coverity CID 21843.
This commit is contained in:
parent
d762c6b9dd
commit
1602c51a26
@ -7,6 +7,7 @@
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
#include <signal.h>
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
|
||||
static struct burn_drive_info *drives;
|
||||
@ -62,6 +63,7 @@ int main()
|
||||
return 1;
|
||||
}
|
||||
|
||||
memset(&newact, 0, sizeof(newact));
|
||||
newact.sa_handler = catch_int;
|
||||
sigaction(SIGINT, &newact, &oldact);
|
||||
for (i = 0; i < (int) n_drives; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user