Introduction
Introduction Statistics Contact Development Disclaimer Help
remove unneeded variable - saait - the most boring static page generator
git clone git://git.codemadness.org/saait
Log
Files
Refs
README
LICENSE
---
commit aac9d4d389441f56dd883b5eec1aea7672797e27
parent 685357843f7c8e34a142392ee9f4ed1fcf517436
Author: Hiltjo Posthuma <[email protected]>
Date: Sat, 25 May 2019 20:32:15 +0200
remove unneeded variable
Diffstat:
M saait.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/saait.c b/saait.c
@@ -86,12 +86,12 @@ void
catfile(FILE *fpin, const char *ifile, FILE *fpout, const char *ofile)
{
char buf[READ_BUF_SIZ];
- size_t r, w;
+ size_t r;
while (!feof(fpin)) {
if (!(r = fread(buf, 1, sizeof(buf), fpin)))
break;
- if ((w = fwrite(buf, 1, r, fpout)) != r)
+ if ((fwrite(buf, 1, r, fpout)) != r)
break;
if (r != sizeof(buf))
break;
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.