From patchwork Tue Aug 2 16:03:23 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: alexandros.frantzis@linaro.org X-Patchwork-Id: 3221 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 533A224072 for ; Tue, 2 Aug 2011 16:03:26 +0000 (UTC) Received: from mail-qw0-f52.google.com (mail-qw0-f52.google.com [209.85.216.52]) by fiordland.canonical.com (Postfix) with ESMTP id 1910FA18929 for ; Tue, 2 Aug 2011 16:03:26 +0000 (UTC) Received: by qwb8 with SMTP id 8so4984994qwb.11 for ; Tue, 02 Aug 2011 09:03:25 -0700 (PDT) Received: by 10.229.231.66 with SMTP id jp2mr759704qcb.83.1312301005460; Tue, 02 Aug 2011 09:03:25 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.229.6.73 with SMTP id 9cs128285qcy; Tue, 2 Aug 2011 09:03:24 -0700 (PDT) Received: by 10.227.39.14 with SMTP id d14mr8092023wbe.33.1312301004109; Tue, 02 Aug 2011 09:03:24 -0700 (PDT) Received: from adelie.canonical.com (adelie.canonical.com [91.189.90.139]) by mx.google.com with ESMTP id m11si11618626wbh.14.2011.08.02.09.03.23; Tue, 02 Aug 2011 09:03:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.139 as permitted sender) client-ip=91.189.90.139; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.139 as permitted sender) smtp.mail=bounces@canonical.com Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1QoHRD-00087m-CR for ; Tue, 02 Aug 2011 16:03:23 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 5B1272E84F6 for ; Tue, 2 Aug 2011 16:03:23 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: glmark2 X-Launchpad-Branch: ~glmark2-dev/glmark2/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 116 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~glmark2-dev/glmark2/trunk] Rev 116: Fix compilation warning/error about uninitialized variables. Message-Id: <20110802160323.31633.51054.launchpad@loganberry.canonical.com> Date: Tue, 02 Aug 2011 16:03:23 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="13573"; Instance="initZopeless config overlay" X-Launchpad-Hash: 55e73100be25d2bb30f8cc807b7d9734a9be749b ------------------------------------------------------------ revno: 116 committer: Alexandros Frantzis branch nick: trunk timestamp: Tue 2011-08-02 17:01:29 +0100 message: Fix compilation warning/error about uninitialized variables. modified: src/scene-effect-2d.cpp --- lp:glmark2 https://code.launchpad.net/~glmark2-dev/glmark2/trunk You are subscribed to branch lp:glmark2. To unsubscribe from this branch go to https://code.launchpad.net/~glmark2-dev/glmark2/trunk/+edit-subscription === modified file 'src/scene-effect-2d.cpp' --- src/scene-effect-2d.cpp 2011-08-02 14:28:18 +0000 +++ src/scene-effect-2d.cpp 2011-08-02 16:01:29 +0000 @@ -310,8 +310,8 @@ static const std::string vtx_shader_filename(GLMARK_DATA_PATH"/shaders/effect-2d.vert"); std::vector kernel; - unsigned int kernel_width; - unsigned int kernel_height; + unsigned int kernel_width = 0; + unsigned int kernel_height = 0; /* Parse the kernel matrix from the options */ if (!parse_matrix(mOptions["kernel"].value, kernel,