]> granicus.if.org Git - xz/commitdiff
Silence a compiler warning.
authorLasse Collin <lasse.collin@tukaani.org>
Thu, 11 Sep 2008 07:46:14 +0000 (10:46 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Thu, 11 Sep 2008 07:46:14 +0000 (10:46 +0300)
src/lzma/process.c

index b24de6981cc757a3a69e04a3752e90e143a81f6f..46c27df6dde16e1eac45d503bb6e3af2347c3717 100644 (file)
@@ -152,7 +152,7 @@ create_thread(void *(*func)(thread_data *t), thread_data *t)
 static int
 single_init(thread_data *t)
 {
-       lzma_ret ret;
+       lzma_ret ret = LZMA_PROG_ERROR;
 
        if (opt_mode == MODE_COMPRESS) {
                switch (opt_header) {