From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9A688A0554 for ; Tue, 18 Feb 2020 04:09:52 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 61E0B1D977; Tue, 18 Feb 2020 04:09:52 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 25F531D977 for ; Tue, 18 Feb 2020 04:09:49 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Feb 2020 19:09:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,455,1574150400"; d="scan'208";a="348608833" Received: from unknown (HELO dpdk-zengxx-dut.sh.intel.com) ([10.239.250.137]) by fmsmga001.fm.intel.com with ESMTP; 17 Feb 2020 19:09:46 -0800 From: maox.jiang@intel.com To: stable@dpdk.org Cc: bluca@debian.org, yliu@fridaylinux.org, taox.zhu@intel.com, Jiang Mao Date: Tue, 18 Feb 2020 06:07:08 -0500 Message-Id: <1582024028-79735-1-git-send-email-maox.jiang@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dpdk-stable] [PATCH] test/test: fix the backport which left a unused variable X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" From: Jiang Mao This backport which was adjusted but not enough and the unused variable was left behind. Fix it with deleting the unused variable. Signed-off-by: Jiang Mao Fixes: 0ecbf7984bb0 ("test: optimise fd closing in forks") --- Note: This patch just fixes v17.11.10-rc1, the other version have no compiling error. test/test/process.h | 1 - 1 file changed, 1 deletion(-) diff --git a/test/test/process.h b/test/test/process.h index 505d2f9..1c369e8 100644 --- a/test/test/process.h +++ b/test/test/process.h @@ -56,7 +56,6 @@ int num; char *argv_cpy[numargs + 1]; int i, status; - char path[32]; pid_t pid = fork(); if (pid < 0) -- 1.8.3.1