no need to assign buf = NULL - saait - the most boring static page generator | |
git clone git://git.codemadness.org/saait | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 8d6a1aebbe14e7340d537d9b7db20a1d7c2872bf | |
parent 68b7e11cb8d6eee9bfe01fa6fa8728d0d946c63d | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Fri, 4 Aug 2017 14:50:27 +0200 | |
no need to assign buf = NULL | |
Diffstat: | |
M saait.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/saait.c b/saait.c | |
@@ -77,7 +77,7 @@ char * | |
readfile(const char *file) | |
{ | |
FILE *fp; | |
- char *buf = NULL; | |
+ char *buf; | |
size_t n, len = 0, size = 0; | |
fp = efopen(file, "rb"); |