Removed surplus code statement which used uninitialized variable. Coverity CID 21843.

This commit is contained in:
Thomas Schmitt 2015-10-23 13:40:05 +00:00
parent ccb2139270
commit aace6fa482

View File

@ -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++) {