This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-API] [PATCH] Remove some unused variables from a C stub

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH] Remove some unused variables from a C stub
From: David Scott <dave.scott@xxxxxxxxxxxxx>
Date: Fri, 5 Mar 2010 18:02:43 +0000
Delivery-date: Fri, 05 Mar 2010 09:58:27 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User David Scott <dave.scott@xxxxxxxxxxxxx>
# Date 1267812141 0
# Node ID b1583ec8b9aa24bb402e3f3711a196218a3d3db4
# Parent  45b22c29867df47adc2dc21a008c6f6730e6e4fc
CA-38105: remove some unused variables from C stubs

Signed-off-by: David Scott <dave.scott@xxxxxxxxxxxxx>

diff -r 45b22c29867d -r b1583ec8b9aa stdext/unixext_stubs.c
--- a/stdext/unixext_stubs.c    Wed Feb 17 10:14:40 2010 +0000
+++ b/stdext/unixext_stubs.c    Fri Mar 05 18:02:21 2010 +0000
@@ -294,8 +294,6 @@
   int ret,  cv_flags, cfd;
   long numbytes;
   char iobuf[UNIX_BUFFER_SIZE];
-  value path;
-  int pathlen;
   char buf[CMSG_SPACE(sizeof(cfd))];
   cfd = Int_val(fd);
1 file changed, 2 deletions(-)
stdext/unixext_stubs.c |    2 --

Attachment: xen-api-libs.hg.patch
Description: Text Data

xen-api mailing list
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] [PATCH] Remove some unused variables from a C stub, David Scott <=