From patchwork Mon Jan 28 18:30:38 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Gall X-Patchwork-Id: 14313 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 9CBA023E2E for ; Mon, 28 Jan 2013 18:30:59 +0000 (UTC) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by fiordland.canonical.com (Postfix) with ESMTP id 4EC9CA18A68 for ; Mon, 28 Jan 2013 18:30:59 +0000 (UTC) Received: by mail-vc0-f174.google.com with SMTP id n11so2082703vch.33 for ; Mon, 28 Jan 2013 10:30:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state; bh=Q7dlOPg/46IFmjEHxxxFMwFmB8PUL0U5DNaaMmJ1H5U=; b=SlVpX4vfkcZ1S27XkvxlQnFX9O3uWVFHJVKE3G41+3oXtZfrX/qQFj36lupy//tLzA lmHp76EDM9g9Qzyh6adBjA2hQhWhus7/hi2fPJfuvCftRxc/LsOyeSe9UTN536ftC3Ag avyta5aZkE6PwJi6UA74hA7SCykERmG1KQG397O/CYXMnI1qz1bYo4BQpkn4hUWTNZ69 wkjlq/oOYwR+cAUHeOxfFNKsS+RlLoCifcdONpUHxFRpgaFF6/EdGBMphMzg9x/cBaPG lFMFSFDdhaZKvVa8e3TPq9o81jOUJgIJEhQm+O9ajKih/8SKNgf0zk9VYViZB1rHIeA+ OSsw== X-Received: by 10.52.88.168 with SMTP id bh8mr13669163vdb.51.1359397858819; Mon, 28 Jan 2013 10:30:58 -0800 (PST) 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.58.145.101 with SMTP id st5csp98354veb; Mon, 28 Jan 2013 10:30:58 -0800 (PST) X-Received: by 10.50.140.104 with SMTP id rf8mr5761159igb.21.1359397858113; Mon, 28 Jan 2013 10:30:58 -0800 (PST) Received: from mail-ie0-x236.google.com (mail-ie0-x236.google.com [2607:f8b0:4001:c03::236]) by mx.google.com with ESMTPS id uq13si7283890igb.35.2013.01.28.10.30.57 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 28 Jan 2013 10:30:58 -0800 (PST) Received-SPF: neutral (google.com: 2607:f8b0:4001:c03::236 is neither permitted nor denied by best guess record for domain of tom.gall@linaro.org) client-ip=2607:f8b0:4001:c03::236; Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:4001:c03::236 is neither permitted nor denied by best guess record for domain of tom.gall@linaro.org) smtp.mail=tom.gall@linaro.org Received: by mail-ie0-f182.google.com with SMTP id k14so463438iea.13 for ; Mon, 28 Jan 2013 10:30:57 -0800 (PST) X-Received: by 10.50.33.233 with SMTP id u9mr5743972igi.39.1359397857508; Mon, 28 Jan 2013 10:30:57 -0800 (PST) Received: from mars.mantorvilleexpress.com ([70.35.96.184]) by mx.google.com with ESMTPS id c3sm6835581igj.1.2013.01.28.10.30.55 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 28 Jan 2013 10:30:56 -0800 (PST) From: Tom Gall To: piglit@lists.freedesktop.org Cc: patches@linaro.org, Tom Gall Subject: [PATCH 2/3] android: piglit-shader.c compiler error Date: Mon, 28 Jan 2013 12:30:38 -0600 Message-Id: <1359397839-24285-2-git-send-email-tom.gall@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1359397839-24285-1-git-send-email-tom.gall@linaro.org> References: <1359397839-24285-1-git-send-email-tom.gall@linaro.org> X-Gm-Message-State: ALoCoQnIkdmeGltglzZ96rkb4mNhTT0ieugBvPXJ9GT473P3unj11yQL9WXJa7zybo+Vz3BPhWDC A very minor change to fix build issue for Android. Needed return statement at end of function which specifies a return type. Signed-off-by: Tom Gall --- tests/util/piglit-shader.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/util/piglit-shader.c b/tests/util/piglit-shader.c index f41ae79..5f4d6c1 100644 --- a/tests/util/piglit-shader.c +++ b/tests/util/piglit-shader.c @@ -127,6 +127,7 @@ shader_name(GLenum target) default: assert(!"Unexpected shader target in shader_name()"); } + return "error"; } /**