URI:
       remove unneeded variable - saait - the most boring static page generator
  HTML git clone git://git.codemadness.org/saait
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit aac9d4d389441f56dd883b5eec1aea7672797e27
   DIR parent 685357843f7c8e34a142392ee9f4ed1fcf517436
  HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Sat, 25 May 2019 20:32:15 +0200
       
       remove unneeded variable
       
       Diffstat:
         M saait.c                             |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
   DIR 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;