From patchwork Thu Aug 20 19:18:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 52602 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by patches.linaro.org (Postfix) with ESMTPS id 0E96122E4F for ; Thu, 20 Aug 2015 19:18:37 +0000 (UTC) Received: by wilj18 with SMTP id j18sf15306918wil.0 for ; Thu, 20 Aug 2015 12:18:36 -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:delivered-to:from:to:date :message-id:subject:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=7phMb0hMC9TuVrEYrnTvwXZZvWMKP4EAGKImn1yNC94=; b=OFfjsXfITFnem6SBMvxgPsBtW5scJoiyWYfcMh7uPFBIIR1U+iu8rB3m73t5YhuGpT 70krA3j2gydxfvR5937M/C4CREJCfwUV64olbHKfYSqPDwTohnrYmaxqiDVwoxCVxhBP cheB8dxzVRKIbx/vKuAXQ7iBnvVLkHMRCIMZULZCCILMptLcIO5arebCGPmGMcwT8KLR DtNulrF4anPgtpGVR7ycGE7r06dcql+VFblxKnKbEjizjshwgxf6xUSjTzcDDyEyt0G9 +m1lO6ju5R1s+Wvp+eLyDSmVxp9izg9PUhtnkO6Y+duxP7Hpoduzs7kK2JR1RAdMl9Eo Ajag== X-Gm-Message-State: ALoCoQmewmLIL+jesEW0V5e7hq8XQ2Tu2vtAqY+1rNqAiSWM3k9ksnVZjy0/U2sIsEDF6Ts+6JIg X-Received: by 10.194.188.104 with SMTP id fz8mr1242308wjc.1.1440098316376; Thu, 20 Aug 2015 12:18:36 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.10.33 with SMTP id f1ls238295lab.49.gmail; Thu, 20 Aug 2015 12:18:36 -0700 (PDT) X-Received: by 10.112.235.130 with SMTP id um2mr4264719lbc.72.1440098316213; Thu, 20 Aug 2015 12:18:36 -0700 (PDT) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com. [209.85.217.177]) by mx.google.com with ESMTPS id pk1si4348579lac.126.2015.08.20.12.18.36 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Aug 2015 12:18:36 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) client-ip=209.85.217.177; Received: by lbbpu9 with SMTP id pu9so30211775lbb.3 for ; Thu, 20 Aug 2015 12:18:36 -0700 (PDT) X-Received: by 10.152.22.133 with SMTP id d5mr4231037laf.112.1440098316117; Thu, 20 Aug 2015 12:18:36 -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.112.162.200 with SMTP id yc8csp189542lbb; Thu, 20 Aug 2015 12:18:34 -0700 (PDT) X-Received: by 10.180.20.198 with SMTP id p6mr16275305wie.38.1440098314587; Thu, 20 Aug 2015 12:18:34 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id hc8si10187798wjc.30.2015.08.20.12.18.31; Thu, 20 Aug 2015 12:18:34 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Received: by lists.linaro.org (Postfix, from userid 109) id 602C06211B; Thu, 20 Aug 2015 19:18:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from ip-10-142-244-252.ec2.internal (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 691C56210E; Thu, 20 Aug 2015 19:18:25 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 66A8F62116; Thu, 20 Aug 2015 19:18:21 +0000 (UTC) Received: from mail-qg0-f45.google.com (mail-qg0-f45.google.com [209.85.192.45]) by lists.linaro.org (Postfix) with ESMTPS id 72B076210D for ; Thu, 20 Aug 2015 19:18:20 +0000 (UTC) Received: by qgeb6 with SMTP id b6so34155531qge.3 for ; Thu, 20 Aug 2015 12:18:20 -0700 (PDT) X-Received: by 10.140.152.203 with SMTP id 194mr8937295qhy.47.1440098300208; Thu, 20 Aug 2015 12:18:20 -0700 (PDT) Received: from localhost.localdomain (c-98-221-136-245.hsd1.nj.comcast.net. [98.221.136.245]) by smtp.gmail.com with ESMTPSA id e196sm2821408qka.40.2015.08.20.12.18.19 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 20 Aug 2015 12:18:19 -0700 (PDT) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Thu, 20 Aug 2015 15:18:13 -0400 Message-Id: <1440098294-24278-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.4 X-Topics: patch Subject: [lng-odp] [PATCH 1/2] Validation: system: fix uninitialised variable X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 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" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mike.holmes@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.217.177 as permitted sender) smtp.mailfrom=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 It is possible that a code change leaves s=NULL; default char_ok to failure Signed-off-by: Mike Holmes Reviewed-by: Bill Fischofer --- test/validation/system/system.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/validation/system/system.c b/test/validation/system/system.c index 7687f20..2b788d2 100644 --- a/test/validation/system/system.c +++ b/test/validation/system/system.c @@ -12,7 +12,7 @@ void system_test_odp_version_numbers(void) { - int char_ok; + int char_ok = 0; char version_string[128]; char *s = version_string;