diff options
author | Pavel Vymetálek <pavel@vym.cz> | 2019-03-19 16:10:31 +0100 |
---|---|---|
committer | Pavel Vymetálek <pavel@vym.cz> | 2019-03-19 16:10:31 +0100 |
commit | 2d5fd6762eb110f537e3bb04cb632b1885956216 (patch) | |
tree | e5f001d5bc160525081a8c951fb7fc5d73af8b14 /sercp.c | |
parent | b7d59dfb103014839518f8a7eaabffed9f572af3 (diff) | |
download | sercp-pc-2d5fd6762eb110f537e3bb04cb632b1885956216.tar.gz |
Update TODO, fixed compile-time warningsv0.2.3
Diffstat (limited to 'sercp.c')
-rw-r--r-- | sercp.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -57,7 +57,7 @@ #define true 1 #define TRUE 1 -const char* _version = "v0.2"; +const char* _version = "v0.2.3"; // SERIAL FILE *tapout_fd = NULL; int is_outfile = 0; @@ -376,8 +376,8 @@ void sercpRecv(void) { uint32_t recv_length = 0; // zatim prijatych dat ze souboru #ifndef __WIN32 int result; - int _err; -#endif +// int _err; + #endif FILEINFO *p_fileinfo = &fileinfo; unsigned char *p_buff = buff; tapout_fd = NULL; @@ -426,7 +426,7 @@ void sercpRecv(void) { exit (EXIT_FAILURE); #else - _err = errno; +// _err = errno; err (1, "can't open output file"); #endif } |