summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-07-21 12:52:10 +0100
committerRichard Jones <rjones@redhat.com>2010-07-21 12:52:10 +0100
commit2e7da2a2f3bbc6d6db148d7dc2ce238bf56f34db (patch)
treedda2e1aa87821a35015a0b78d62f7fbe2004cd19 /src
parent45a4cd79215752234c4a5a47fb4c9c6741b1594c (diff)
downloadlibguestfs-2e7da2a2f3bbc6d6db148d7dc2ce238bf56f34db.tar.gz
libguestfs-2e7da2a2f3bbc6d6db148d7dc2ce238bf56f34db.tar.xz
libguestfs-2e7da2a2f3bbc6d6db148d7dc2ce238bf56f34db.zip
generator: Remove unnecessary parameter.
The 'name' parameter is not used on the right hand side of the match, so it can be removed.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/generator.ml8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/generator.ml b/src/generator.ml
index 6ef85fd6..2fb3f48e 100755
--- 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 ->