]> git.proxmox.com Git - mirror_qemu.git/blobdiff - scripts/coverity-model.c
Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging
[mirror_qemu.git] / scripts / coverity-model.c
index 48b112393b04bfbb2f2c635b0f44a1325cc8a0cb..2c0346ff252067e80df52620ab11c573300912af 100644 (file)
@@ -106,12 +106,8 @@ static int get_keysym(const name2keysym_t *table,
 /* Replay data is considered trusted.  */
 uint8_t replay_get_byte(void)
 {
-     uint8_t byte = 0;
-     if (replay_file) {
-         uint8_t c;
-         byte = c;
-     }
-     return byte;
+    uint8_t byte;
+    return byte;
 }