diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/include/testing.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/include/testing.h b/tests/include/testing.h index 6fa5ca6..80d5aa2 100644 --- a/tests/include/testing.h +++ b/tests/include/testing.h @@ -115,8 +115,7 @@ inline char *stasis_testing_read_ascii(const char *filename) { } inline int stasis_testing_write_ascii(const char *filename, const char *data) { - FILE *fp; - fp = fopen(filename, "w+"); + FILE *fp = fopen(filename, "w+"); if (!fp) { perror(filename); return -1; |
