summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-20 17:09:20 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-20 17:09:20 +0000
commitb252972ab468cbe3a9d7ff33366561c40d0391ec (patch)
tree71e6e48129fd19aa7ca0a6ddf56723ce0a23793b
parent7046f2cd1666418771f2af8693a4b2952379cf0e (diff)
downloadmpv-b252972ab468cbe3a9d7ff33366561c40d0391ec.tar.bz2
mpv-b252972ab468cbe3a9d7ff33366561c40d0391ec.tar.xz
Remove pointless return statements from functions that return nothing.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30084 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-xvidix/pci_db2c.awk4
1 files changed, 0 insertions, 4 deletions
diff --git a/vidix/pci_db2c.awk b/vidix/pci_db2c.awk
index 0ca5f32cfd..5c1ad8d27a 100755
--- a/vidix/pci_db2c.awk
+++ b/vidix/pci_db2c.awk
@@ -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)