Message ID | 1467176548-40488-5-git-send-email-u9012063@gmail.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <dev-bounces@openvswitch.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from archives.nicira.com (archives.nicira.com [96.126.127.54]) by ozlabs.org (Postfix) with ESMTP id 3rfVtS0WPNz9sf9 for <incoming@patchwork.ozlabs.org>; Wed, 29 Jun 2016 15:03:12 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=oXDCpT8L; dkim-atps=neutral Received: from archives.nicira.com (localhost [127.0.0.1]) by archives.nicira.com (Postfix) with ESMTP id DD9381092D; Tue, 28 Jun 2016 22:02:49 -0700 (PDT) X-Original-To: dev@openvswitch.org Delivered-To: dev@openvswitch.org Received: from mx3v3.cudamail.com (mx3.cudamail.com [64.34.241.5]) by archives.nicira.com (Postfix) with ESMTPS id B3EF11091C for <dev@openvswitch.org>; Tue, 28 Jun 2016 22:02:45 -0700 (PDT) Received: from bar6.cudamail.com (localhost [127.0.0.1]) by mx3v3.cudamail.com (Postfix) with ESMTPS id 0BE0516188D for <dev@openvswitch.org>; Tue, 28 Jun 2016 23:02:45 -0600 (MDT) X-ASG-Debug-ID: 1467176564-0b3237786f83160001-byXFYA Received: from mx3-pf2.cudamail.com ([192.168.14.1]) by bar6.cudamail.com with ESMTP id pDpZ1t0jrxjXHje5 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <dev@openvswitch.org>; Tue, 28 Jun 2016 23:02:44 -0600 (MDT) X-Barracuda-Envelope-From: u9012063@gmail.com X-Barracuda-RBL-Trusted-Forwarder: 192.168.14.1 Received: from unknown (HELO mail-pa0-f65.google.com) (209.85.220.65) by mx3-pf2.cudamail.com with ESMTPS (AES128-SHA encrypted); 29 Jun 2016 05:02:44 -0000 Received-SPF: pass (mx3-pf2.cudamail.com: SPF record at _netblocks.google.com designates 209.85.220.65 as permitted sender) X-Barracuda-Apparent-Source-IP: 209.85.220.65 X-Barracuda-RBL-IP: 209.85.220.65 Received: by mail-pa0-f65.google.com with SMTP id us13so3422711pab.1 for <dev@openvswitch.org>; Tue, 28 Jun 2016 22:02:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:in-reply-to:references; bh=z+ZbVvKMd04mt5jdrOl3UZCauo+VA+kEYpl9q9tcI4M=; b=oXDCpT8LZhXSM3X0uifsPlpdZ6/RpiTRhIejICaodwb4GLVNa4dFV+MHAaRUEEIeu/ 39ry/Ah1gyBp/QThluADW6zFxCtENDRedH+lY+7w6APhdsEtusKdrxCU3phYM5Tg9eBv zT8TSNL5nYDf6344nfoXGwZLgAtSl7gKAMgovlCWfHwDjKJwd3VTEIpC66bqQzChS3Pj xcLUPkgHNH1tjNhXPiwpz13Y99zhIpNu0uoj9oTOo5WDiqImqzKfPccj+btZ6xckx7V8 XjhhzR7v0WXvFnP+L6Rg7Py6RQWSUAUoBL/aAAVRhdKsr8efo07584giZK0RL+BKDl9+ 2QDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=z+ZbVvKMd04mt5jdrOl3UZCauo+VA+kEYpl9q9tcI4M=; b=Bj0N2Sx5b0DNA/HLUwvEaYxQB2JXfpXKt1ibraWFG2Fy92466tBe5MJXEjhcwlYFS2 0BxU/visySCCcGglkpm2TG46dWYpMk4Cosxa5wOuy6N0PAG/mJcwjHJuOCfCJNyj3dQu xpAlBeLLrION0f2953glnjX1YtwfW+j+/t1gEL+b0WqtkWVKcDM8dB123KeoMsxEQcpu X1Meo2VSMpyEForPgARZg9Ith/Yvw9rLEhTcyCSP6phg8LZyNEa3RTGP0D+hoUhXPzkS QV3aMUTVK3l78JINz4ptZyBGpcCw8bQUrtuK+12zoiJq5+bo76uHUEhztxkOHRx7Gpd9 McTQ== X-Gm-Message-State: ALyK8tI8CGoOgLfLj4G1RL80egOedwDfgQYDSGEOmbTuWm52V1BcIyDPcTKR7ErTfhy4mQ== X-Received: by 10.66.5.229 with SMTP id v5mr8131566pav.63.1467176563701; Tue, 28 Jun 2016 22:02:43 -0700 (PDT) Received: from vm-dev.localdomain ([76.126.157.223]) by smtp.gmail.com with ESMTPSA id y70sm1857417pff.25.2016.06.28.22.02.42 for <dev@openvswitch.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Jun 2016 22:02:43 -0700 (PDT) X-CudaMail-Envelope-Sender: u9012063@gmail.com From: William Tu <u9012063@gmail.com> To: dev@openvswitch.org X-CudaMail-MID: CM-V2-627068599 X-CudaMail-DTE: 062816 X-CudaMail-Originating-IP: 209.85.220.65 Date: Tue, 28 Jun 2016 22:02:25 -0700 X-ASG-Orig-Subj: [##CM-V2-627068599##][PATCH 4/7] ovn-controller-vtep: Fix dead increment reported by clang. Message-Id: <1467176548-40488-5-git-send-email-u9012063@gmail.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1467176548-40488-1-git-send-email-u9012063@gmail.com> References: <1467176548-40488-1-git-send-email-u9012063@gmail.com> X-GBUdb-Analysis: 0, 209.85.220.65, Ugly c=0.401053 p=-0.142857 Source Normal X-MessageSniffer-Rules: 0-0-0-4072-c X-Barracuda-Connect: UNKNOWN[192.168.14.1] X-Barracuda-Start-Time: 1467176564 X-Barracuda-Encrypted: DHE-RSA-AES256-SHA X-Barracuda-URL: https://web.cudamail.com:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at cudamail.com X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.60 X-Barracuda-Spam-Status: No, SCORE=0.60 using global scores of TAG_LEVEL=3.5 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=4.0 tests=BSF_SC5_MJ1963, DKIM_SIGNED, MAILTO_TO_SPAM_ADDR, RDNS_NONE X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.30853 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 DKIM_SIGNED Domain Keys Identified Mail: message has a signature 0.00 MAILTO_TO_SPAM_ADDR URI: Includes a link to a likely spammer email 0.10 RDNS_NONE Delivered to trusted network by a host with no rDNS 0.50 BSF_SC5_MJ1963 Custom Rule MJ1963 Subject: [ovs-dev] [PATCH 4/7] ovn-controller-vtep: Fix dead increment reported by clang. X-BeenThere: dev@openvswitch.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: <dev.openvswitch.org> List-Unsubscribe: <http://openvswitch.org/mailman/options/dev>, <mailto:dev-request@openvswitch.org?subject=unsubscribe> List-Archive: <http://openvswitch.org/pipermail/dev> List-Post: <mailto:dev@openvswitch.org> List-Help: <mailto:dev-request@openvswitch.org?subject=help> List-Subscribe: <http://openvswitch.org/mailman/listinfo/dev>, <mailto:dev-request@openvswitch.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dev-bounces@openvswitch.org Sender: "dev" <dev-bounces@openvswitch.org> |
On Tue, Jun 28, 2016 at 10:02:25PM -0700, William Tu wrote:
> Signed-off-by: William Tu <u9012063@gmail.com>
Applied, thanks!
diff --git a/ovn/controller-vtep/ovn-controller-vtep.c b/ovn/controller-vtep/ovn-controller-vtep.c index bad3316..36005ed 100644 --- a/ovn/controller-vtep/ovn-controller-vtep.c +++ b/ovn/controller-vtep/ovn-controller-vtep.c @@ -230,9 +230,6 @@ parse_options(int argc, char *argv[]) } free(short_options); - argc -= optind; - argv += optind; - if (!ovnsb_remote) { ovnsb_remote = xstrdup(default_db()); }
Signed-off-by: William Tu <u9012063@gmail.com> --- ovn/controller-vtep/ovn-controller-vtep.c | 3 --- 1 file changed, 3 deletions(-)