diff options
author | Kay Sievers <kay@vrfy.org> | 2012-04-13 15:08:55 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-04-13 15:10:12 +0200 |
commit | b49d9b50cfd377f28de0886330ba7bbd231fb472 (patch) | |
tree | 19135b6b49048e05a884efa07454ee1728d094b4 /src/udev/ata_id | |
parent | 7ea07dcddafe573c699fc48171b57b912897e7e2 (diff) |
udev: fix a few issues detected by the llvm static analyzer
Diffstat (limited to 'src/udev/ata_id')
-rw-r--r-- | src/udev/ata_id/ata_id.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/udev/ata_id/ata_id.c b/src/udev/ata_id/ata_id.c index fe160bf1ee..be064187f8 100644 --- a/src/udev/ata_id/ata_id.c +++ b/src/udev/ata_id/ata_id.c @@ -360,7 +360,6 @@ static int disk_identify(struct udev *udev, int is_packet_device; /* init results */ - ret = -1; memset(out_identify, '\0', 512); is_packet_device = 0; |