From: Steve Underwood Date: Wed, 18 Sep 2013 13:55:16 +0000 (+0800) Subject: Fixed the comments generated by make_t43_gray_code_tables.c X-Git-Tag: v1.5.8~97 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08201d590a3445cc8b8dae478f3cf15e17621147;p=thirdparty%2Ffreeswitch.git Fixed the comments generated by make_t43_gray_code_tables.c --- diff --git a/libs/spandsp/src/make_t43_gray_code_tables.c b/libs/spandsp/src/make_t43_gray_code_tables.c index c44adc27bb..041b907d79 100644 --- a/libs/spandsp/src/make_t43_gray_code_tables.c +++ b/libs/spandsp/src/make_t43_gray_code_tables.c @@ -41,12 +41,13 @@ int main(int argc, char *argv[]) int j; int gray; int new_gray; - int restore = 0; + int restore; printf("static const int16_t gray_code[4096] =\n{\n"); for (i = 0; i < 4096; i++) { gray = i & 0x800; + restore = i; for (j = 10; j >= 0; j--) { if (((i >> (j + 1)) & 1) ^ ((i >> j) & 1))