From patchwork Mon Aug 25 19:21:53 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 35938 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f199.google.com (mail-ig0-f199.google.com [209.85.213.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 193EF20565 for ; Mon, 25 Aug 2014 19:22:20 +0000 (UTC) Received: by mail-ig0-f199.google.com with SMTP id l13sf16330432iga.10 for ; Mon, 25 Aug 2014 12:22:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=N4q1imKyirF38Grpqqf1xU2lX2cWp2YWZGxdhhvKWOM=; b=jaou8zA+uUl2fnPhqlmlNG8vuwnLPz08H0Gka6+vK2cuRxeSfUeJmMC3UgR9wNzeIm kgh8S48MhQv0pOyOF5gKSELsOUj3KNipvBPO39qUwv65vfvMy1sw487GnFhlA251c7a8 uubUVJUWljIejx5lwmtNtLDEqMlkABnCQ+2YG46g56vTGp99NIG6hqOZWdW+vqPQ/Sga izJlT8snOgBfrW1w/MTXaFuy3RzAPl88ibzqxwhUUEzyfaQUqQ3LqVlkEv78LpjJ/6rt gzFoev9wGmWqmZPi3uacRQ84mpao4y+2nHud9sjMi2f51gqIQ6yOARvSAuaAA/ZRdwwg /2/Q== X-Gm-Message-State: ALoCoQkaDjzJY7MiOnmNVSNnGwTgzLu428UkM/X8SQGieC23V4azqMUYRK+vM75f6WZpZrQlynkr X-Received: by 10.182.66.68 with SMTP id d4mr14973534obt.39.1408994539616; Mon, 25 Aug 2014 12:22:19 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.94.87 with SMTP id f81ls2210129qge.65.gmail; Mon, 25 Aug 2014 12:22:19 -0700 (PDT) X-Received: by 10.220.86.72 with SMTP id r8mr7974828vcl.36.1408994539363; Mon, 25 Aug 2014 12:22:19 -0700 (PDT) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx.google.com with ESMTPS id rl7si467030vcb.85.2014.08.25.12.22.19 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 25 Aug 2014 12:22:19 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.182 as permitted sender) client-ip=209.85.220.182; Received: by mail-vc0-f182.google.com with SMTP id hy4so15491836vcb.41 for ; Mon, 25 Aug 2014 12:22:19 -0700 (PDT) X-Received: by 10.52.99.106 with SMTP id ep10mr2797703vdb.73.1408994539286; Mon, 25 Aug 2014 12:22:19 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.45.67 with SMTP id uj3csp141609vcb; Mon, 25 Aug 2014 12:22:18 -0700 (PDT) X-Received: by 10.229.231.68 with SMTP id jp4mr38144467qcb.4.1408994538718; Mon, 25 Aug 2014 12:22:18 -0700 (PDT) Received: from ip-10-141-164-156.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id v6si1091480qaf.35.2014.08.25.12.22.17 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 25 Aug 2014 12:22:18 -0700 (PDT) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-141-164-156.ec2.internal) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XLzqJ-0007IF-SE; Mon, 25 Aug 2014 19:22:15 +0000 Received: from mail-la0-f52.google.com ([209.85.215.52]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XLzqD-0007I7-NB for lng-odp@lists.linaro.org; Mon, 25 Aug 2014 19:22:09 +0000 Received: by mail-la0-f52.google.com with SMTP id b17so13667540lan.39 for ; Mon, 25 Aug 2014 12:22:03 -0700 (PDT) X-Received: by 10.112.98.140 with SMTP id ei12mr22264713lbb.6.1408994523040; Mon, 25 Aug 2014 12:22:03 -0700 (PDT) Received: from localhost (c-853670d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.112.54.133]) by mx.google.com with ESMTPSA id e9sm455413laf.36.2014.08.25.12.22.01 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 25 Aug 2014 12:22:02 -0700 (PDT) From: Anders Roxell To: lng-odp@lists.linaro.org Date: Mon, 25 Aug 2014 21:21:53 +0200 Message-Id: <1408994513-2097-1-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 1.9.1 X-Topics: patch Subject: [lng-odp] [PATCH] test/api_test/odp_atomic_test.c: clear clang warning X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: anders.roxell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.182 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Signed-off-by: Anders Roxell Reviewed-by: Venkatesh Vivekanandan --- test/api_test/odp_atomic_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/api_test/odp_atomic_test.c b/test/api_test/odp_atomic_test.c index 92c62dd..9019d4f 100644 --- a/test/api_test/odp_atomic_test.c +++ b/test/api_test/odp_atomic_test.c @@ -291,7 +291,7 @@ static void *run_thread(void *arg) int main(int argc, char *argv[]) { pthrd_arg thrdarg; - int test_type, pthrdnum = 0, i = 0, cnt = argc - 1; + int test_type = 0, pthrdnum = 0, i = 0, cnt = argc - 1; char c; int result;