Commit 312e3e0f authored by Lev Walkin's avatar Lev Walkin

remove gcc compiler warnings

parent 1d2a6e8b
......@@ -252,6 +252,7 @@ process(const char *fname) {
unsigned char fbuf[4096];
char *ext = strrchr(fname, '.');
enum expectation expectation;
char *cwd;
int ret;
int rd;
FILE *fp;
......@@ -274,7 +275,8 @@ process(const char *fname) {
fprintf(stderr, "\nProcessing file [../%s]\n", fname);
getcwd(prevdir, sizeof(prevdir));
cwd = getcwd(prevdir, sizeof(prevdir));
assert(cwd != NULL);
ret = chdir(SRCDIR_S "/data-70");
assert(ret == 0);
fp = fopen(fname, "r");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment