diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-12-13 19:21:13 -0500 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-12-13 19:21:13 -0500 |
commit | da1fbb6d1a4fb0274da08e7fe872b810d6e90d89 (patch) | |
tree | 90157875d71886e344c6f0308ac93f2c5508f5ca | |
parent | b6a16949e88dbff5d13fdbaa2cd72ef25e10696a (diff) | |
download | rockbox-da1fbb6d1a4fb0274da08e7fe872b810d6e90d89.tar.gz rockbox-da1fbb6d1a4fb0274da08e7fe872b810d6e90d89.zip |
skinengine: Make sure logical IF operator doesn't compare a garbage value
Change-Id: I125bea3c2659326b92eec027cddf0d041f10ebda
-rw-r--r-- | apps/gui/skin_engine/skin_tokens.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/skin_tokens.c b/apps/gui/skin_engine/skin_tokens.c index 3eef1e84e7..9df8b7d0c4 100644 --- a/apps/gui/skin_engine/skin_tokens.c +++ b/apps/gui/skin_engine/skin_tokens.c | |||
@@ -632,6 +632,7 @@ static const char* NOINLINE get_lif_token_value(struct gui_wps *gwps, | |||
632 | } | 632 | } |
633 | break; | 633 | break; |
634 | case DEFAULT: | 634 | case DEFAULT: |
635 | b = -1; | ||
635 | break; | 636 | break; |
636 | } | 637 | } |
637 | 638 | ||