[MPlayer-cvslog] r30084 - trunk/vidix/pci_db2c.awk

diego subversion at mplayerhq.hu
Sun Dec 20 18:09:21 CET 2009


Author: diego
Date: Sun Dec 20 18:09:20 2009
New Revision: 30084

Log:
Remove pointless return statements from functions that return nothing.

Modified:
   trunk/vidix/pci_db2c.awk

Modified: trunk/vidix/pci_db2c.awk
==============================================================================
--- trunk/vidix/pci_db2c.awk	Sun Dec 20 18:01:47 2009	(r30083)
+++ trunk/vidix/pci_db2c.awk	Sun Dec 20 18:09:20 2009	(r30084)
@@ -139,7 +139,6 @@ function print_includes(out_file)
 {
     print "#include <stdlib.h>" > out_file;
     print "#include \"pci_names.h\"" > out_file;
-    return;
 }
 
 function print_head(out_file)
@@ -147,7 +146,6 @@ function print_head(out_file)
     printf("/* File: %s\n", out_file) > out_file;
     printf(" * This file was generated automatically. Don't modify it. */\n") > out_file;
     print "" > out_file
-    return;
 }
 
 function print_name_struct(out_file)
@@ -164,7 +162,6 @@ function print_name_struct(out_file)
     print "};" > out_file
     print "const char *pci_vendor_name(unsigned short id);" > out_file
     print "const char *pci_device_name(unsigned short vendor_id, unsigned short device_id);" > out_file
-    return
 }
 
 function print_func_bodies(out_file)
@@ -200,7 +197,6 @@ function print_func_bodies(out_file)
     }
     print "    return NULL;" > out_file
     print "}" > out_file
-    return
 }
 
 function kill_double_quoting(fld)


More information about the MPlayer-cvslog mailing list