root
/
xz
1
0
Çatalla 0

Avoid variable-length arrays in the debug programs.

Bu işleme şunda yer alıyor:
Lasse Collin 2014-12-21 18:05:03 +02:00
ebeveyn 72f7307cfd
işleme 3e8bd1d15e
2 değiştirilmiş dosya ile 4 ekleme ve 2 silme

Dosyayı Görüntüle

@ -14,6 +14,8 @@
#include "lzma.h"
#include <stdio.h>
#define CHUNK 64
static lzma_stream strm = LZMA_STREAM_INIT;
static FILE *file_in;
@ -22,7 +24,6 @@ static FILE *file_in;
static void
encode(size_t size, lzma_action action)
{
static const size_t CHUNK = 64;
uint8_t in[CHUNK];
uint8_t out[CHUNK];
lzma_ret ret;

Dosyayı Görüntüle

@ -14,6 +14,8 @@
#include "lzma.h"
#include <stdio.h>
#define CHUNK 64
static lzma_stream strm = LZMA_STREAM_INIT;
static FILE *file_in;
@ -22,7 +24,6 @@ static FILE *file_in;
static void
encode(size_t size, lzma_action action)
{
static const size_t CHUNK = 64;
uint8_t in[CHUNK];
uint8_t out[CHUNK];
lzma_ret ret;