10138 smatch fixes for usr/src/cmd/sgs
@@ -25,11 +25,13 @@ /* * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ -#pragma ident "%Z%%M% %I% %E% SMI" +/* + * Copyright (c) 2018, Joyent, Inc. + */ #include "stdio.h" extern void exit();
@@ -38,11 +40,11 @@ /* ARGSUSED */ int main(int argc, char **argv) { - yylex(); + (void) yylex(); exit(0); /*NOTREACHED*/ return (0); }