From: Thorsten Alteholz Date: Wed, 27 Dec 2017 20:23:18 +0000 (-0800) Subject: a56: non-void should return a value bug in main.c X-Git-Tag: v1.1~13 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=0b0ac7b7b8a0a8d6ca55dfaf2e98efb9df096e00;p=linux-libre-firmware.git a56: non-void should return a value bug in main.c This is incorporated from the Debian version of the package. --- diff --git a/a56/main.c b/a56/main.c index a6efff3..2d6b759 100644 --- a/a56/main.c +++ b/a56/main.c @@ -10,6 +10,7 @@ /* * Copyright (C) 2008 Robert Millan * Copyright (C) 2012 Thorsten Alteholz + * Copyright (C) 2014 Arthur Marble * * This file is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published @@ -205,7 +206,7 @@ double f; pass = 2; /* what a kludge */ yyerror("%s: multiply defined symbol", sym); pass = 1; - return; + return 1; } stop = &symtab[HASH(sym)]; sp = NEW(struct sym); @@ -415,7 +416,7 @@ struct psect *pp; int used, avail, of; if(pp == NULL) - return; + return 1; used = pp->pc - pp->bottom; avail = pp->top - pp->pc;