URI: 
       bc: Keep happy the compiler - sbase - suckless unix tools
  HTML git clone git://git.suckless.org/sbase
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit ec8218c93bb19777f212addf94544ac01c3012c2
   DIR parent 301f018935abc4a61f37e126085c2824ebc49257
  HTML Author: Roberto E. Vargas Caballero <k0ga@shike2.net>
       Date:   Thu, 11 Dec 2025 08:52:47 +0100
       
       bc: Keep happy the compiler
       
       Diffstat:
         M bc.y                                |       5 +++++
       
       1 file changed, 5 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/bc.y b/bc.y
       @@ -331,6 +331,7 @@ code(char *fmt, ...)
        
        err:
                eprintf("unable to code requested operation\n");
       +        return NULL;
        }
        
        static Macro *
       @@ -638,6 +639,7 @@ end:
        
        toolong:
                yyerror("too long number");
       +        return 0;
        }
        
        static int
       @@ -723,6 +725,7 @@ operand(int ch)
                                return NE;
                default:
                        yyerror("invalid operand");
       +                return 0;
                }
        }
        
       @@ -770,6 +773,8 @@ repeat:
                        }
                        return operand(ch);
                }
       +
       +        return 0;
        }
        
        static void