summaryrefslogtreecommitdiff
path: root/BaseTools/Source/C/LzmaCompress
diff options
context:
space:
mode:
Diffstat (limited to 'BaseTools/Source/C/LzmaCompress')
-rw-r--r--BaseTools/Source/C/LzmaCompress/LzmaCompress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/C/LzmaCompress/LzmaCompress.c b/BaseTools/Source/C/LzmaCompress/LzmaCompress.c
index 7207a752a1..16b91da177 100644
--- a/BaseTools/Source/C/LzmaCompress/LzmaCompress.c
+++ b/BaseTools/Source/C/LzmaCompress/LzmaCompress.c
@@ -208,7 +208,7 @@ int main2(int numArgs, const char *args[], char *rs)
CFileSeqInStream inStream;
CFileOutStream outStream;
int res;
- int encodeMode;
+ int encodeMode = 0;
Bool modeWasSet = False;
const char *inputFile = NULL;
const char *outputFile = "file.tmp";