git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45a4cd7
)
generator: Remove unnecessary parameter.
author
Richard Jones
<rjones@redhat.com>
Wed, 21 Jul 2010 11:52:10 +0000
(12:52 +0100)
committer
Richard Jones
<rjones@redhat.com>
Wed, 21 Jul 2010 11:52:10 +0000
(12:52 +0100)
The 'name' parameter is not used on the right hand side of the
match, so it can be removed.
src/generator.ml
patch
|
blob
|
history
diff --git
a/src/generator.ml
b/src/generator.ml
index
6ef85fd
..
2fb3f48
100755
(executable)
--- a/
src/generator.ml
+++ b/
src/generator.ml
@@
-7971,10
+7971,10
@@
and generate_fish_cmds () =
List.iter (
function
- | Device
name | String name
- | OptString
name | Bool name
- | Int
name | Int64 name
- | BufferIn
name
-> ()
+ | Device
_ | String _
+ | OptString
_ | Bool _
+ | Int
_ | Int64 _
+ | BufferIn
_
-> ()
| Pathname name | Dev_or_Path name | FileOut name ->
pr " free (%s);\n" name
| FileIn name ->