chiark / gitweb /
udev: fix a few issues detected by the llvm static analyzer
[elogind.git] / src / udev / ata_id / ata_id.c
index fe160bf1ee574f52674c67226934ca50637f69ad..be064187f8c995e255b43a7ca9507c84c29b3440 100644 (file)
@@ -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;