Commit ee21e2d8 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

remove an invariant to make the code work

git-svn-id: file:///svn/toku/tokudb@20337 c7de825b-a66e-492c-adef-691d508d4ae1
parent e08811e5
...@@ -521,7 +521,7 @@ static int bl_fread (void *ptr, size_t size, size_t nmemb, FILE *stream) ...@@ -521,7 +521,7 @@ static int bl_fread (void *ptr, size_t size, size_t nmemb, FILE *stream)
else { else {
do_error: ; do_error: ;
int e = ferror(stream); int e = ferror(stream);
invariant(e!=0); // r == 0 && !feof && e == 0, how does this happen? invariant(e!=0);
return e; return e;
} }
} else if (r<nmemb) { } else if (r<nmemb) {
......
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