From patchwork Mon Aug 24 16:34:04 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Velikov X-Patchwork-Id: 7065491 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 7C855C05AC for ; Mon, 24 Aug 2015 16:30:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C05AB20787 for ; Mon, 24 Aug 2015 16:30:08 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id E0E4620784 for ; Mon, 24 Aug 2015 16:30:07 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 833096E9EB; Mon, 24 Aug 2015 09:30:06 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by gabe.freedesktop.org (Postfix) with ESMTPS id D1CDC6E9EA for ; Mon, 24 Aug 2015 09:30:04 -0700 (PDT) Received: by wicja10 with SMTP id ja10so77265805wic.1 for ; Mon, 24 Aug 2015 09:30:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=LbXMjAUPiW3MF/VkxbIC20B7Bet2EmxRCul0jvnlHmA=; b=t+JuRCIWX5tZbOIEkYJviBoi+8UeprvKLIDHhTqDugfwolEgSIxhcQE4fdZLmlS4X6 uSBeCZgDjCi5zxPfYqm8o62koRGKphY8vnf6iPo4UH803ILKBn47E/J0qqN77/Mr2j/C 4BMyvD8jaoWNDvcmwUWJEICT0oHB+mf5lhwPQNEsjMg1lk2pQd3oqLkeUWFZetmiaxYg JPcDu/a1Wov2zlshzlFLBrg2iTruI9spOWrlIc1J3X2OFyA8Z1EF7C5S/jvILkbp3iW6 bmvsPl/tvSNtjPM8pCLZNGmvhsBDIhJqeTGwQwq5bN2kjcbaKHn19F9fJ/qzFnzM9apG 8z4Q== X-Received: by 10.195.18.5 with SMTP id gi5mr43712802wjd.0.1440433803449; Mon, 24 Aug 2015 09:30:03 -0700 (PDT) Received: from arch-x220.localdomain (cpc12-croy20-2-0-cust52.croy.cable.virginm.net. [82.44.54.53]) by smtp.gmail.com with ESMTPSA id ll1sm16885984wic.14.2015.08.24.09.30.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 24 Aug 2015 09:30:02 -0700 (PDT) From: Emil Velikov To: dri-devel@lists.freedesktop.org Subject: [PATCH libdrm 01/17] vbltest: fix variable shadowing warning Date: Mon, 24 Aug 2015 17:34:04 +0100 Message-Id: <1440434060-31347-1-git-send-email-emil.l.velikov@gmail.com> X-Mailer: git-send-email 2.5.0 Cc: emil.l.velikov@gmail.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Just remove the second (shadowing) declaration of ret. Signed-off-by: Emil Velikov --- tests/vbltest/vbltest.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/vbltest/vbltest.c b/tests/vbltest/vbltest.c index 4200adb..e27f45c 100644 --- a/tests/vbltest/vbltest.c +++ b/tests/vbltest/vbltest.c @@ -177,7 +177,6 @@ int main(int argc, char **argv) while (1) { struct timeval timeout = { .tv_sec = 3, .tv_usec = 0 }; fd_set fds; - int ret; FD_ZERO(&fds); FD_SET(0, &fds);