mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Drop unused file descriptor.
This commit is contained in:
parent
624aee531a
commit
084f975d5e
1 changed files with 1 additions and 3 deletions
|
@ -19,7 +19,7 @@
|
|||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
int fd, mode;
|
||||
int mode;
|
||||
|
||||
if (argc != 3){
|
||||
fprintf(stderr, "usage: %s b|c|f|s|r file\n",
|
||||
|
@ -49,8 +49,6 @@ int fd, mode;
|
|||
return 1;
|
||||
}
|
||||
|
||||
close(fd);
|
||||
|
||||
printf("PASS\n");
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue