mirror of
https://github.com/mpv-player/mpv
synced 2024-12-30 19:22:11 +00:00
Remove pointless return statements from functions that return nothing.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30084 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
7046f2cd16
commit
b252972ab4
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user