From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by dpdk.org (Postfix) with ESMTP id A25E09A8F for ; Tue, 19 May 2015 17:47:11 +0200 (CEST) Received: by wibt6 with SMTP id t6so27925033wib.0 for ; Tue, 19 May 2015 08:47:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=oMaAakA5a3x3H9ImLORXLVmYFx6lfrUA3MyzO6kumJ0=; b=nDIKWIfXUrmN473GguysLig3wpxms4AlHbtIFa9+cToa64aZUcLGg71HSpF4aIYC6y wdyeOg1z7N88RzigerpFtNoHyML66hD0s3CqljxvODjh6JfanZXM5A3n6Ul6zs7kIM6R RLthcE9BpTdqEHENEH/FUzklvKgxl5S1TprxzYRocMl8Gy435wifv/ztZKNDQ8nXIwsl x7+OObyxIOuM3RfKJHYF9CrYPcydgZqw0U8Ij4pWcqARPiEpMe6D/qZ57JRTZj/JRWR5 mrJw2/L6akfuwYZgBLNjeyr0Q7M8oHAjFAvxVS/skYnczGRk+QZuS1ci/DH0/DNyYejm ow/g== X-Gm-Message-State: ALoCoQncIRq5SWA55e57OfAtn7JVuUSTL+1gXhTSRiAdr/ApCrh/4aXrBhsNrlqERwHv9VVKcnxz X-Received: by 10.194.5.103 with SMTP id r7mr8442649wjr.47.1432050431536; Tue, 19 May 2015 08:47:11 -0700 (PDT) Received: from xps13.localnet ([62.159.77.186]) by mx.google.com with ESMTPSA id js3sm22370444wjc.5.2015.05.19.08.47.10 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 May 2015 08:47:10 -0700 (PDT) From: Thomas Monjalon To: "Dumitrescu, Cristian" Date: Tue, 19 May 2015 17:46:26 +0200 Message-ID: <9421937.zem0FdVnJy@xps13> Organization: 6WIND User-Agent: KMail/4.14.7 (Linux/4.0.1-1-ARCH; KDE/4.14.7; x86_64; ; ) In-Reply-To: <3EB4FA525960D640B5BDFFD6A3D8912632369F33@IRSMSX108.ger.corp.intel.com> References: <1432031834-12042-1-git-send-email-thomas.monjalon@6wind.com> <3EB4FA525960D640B5BDFFD6A3D8912632369F33@IRSMSX108.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] examples/ip_pipeline: fix build with clang 3.6 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2015 15:47:11 -0000 > > This error is detected: > > examples/ip_pipeline/cmdline.c:272:15: error: address of array > > 'params->file_path' will always evaluate to 'true' > > if (!params->file_path) { > > ~~~~~~~~~^~~~~~~~~ > > > > file_path is an array in a structure so it's unneeded to check it. > > > > Signed-off-by: Thomas Monjalon > > Acked-by: Cristian Dumitrescu Applied, thanks