summary refs log tree commit diff stats
path: root/scripts/coverity-model.c
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/coverity-model.c')
-rw-r--r--scripts/coverity-model.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/scripts/coverity-model.c b/scripts/coverity-model.c
index 48b112393b..2c0346ff25 100644
--- a/scripts/coverity-model.c
+++ b/scripts/coverity-model.c
@@ -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;
 }