From nobody Sun Feb 8 06:53:52 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 207.211.31.120 as permitted sender) client-ip=207.211.31.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1571737173; cv=none; d=zoho.com; s=zohoarc; b=eY2WM69+MftVVgIFg+7OB7VVQk68D8PzO7LJJaDDl1KiA5jlonfIMOrPEjtt/nfansUUUgjBx+f5fUxNh71wjnf5LU3qyxj5nXwP2GyspWtwwtw3t/PSBf5yx+JCHAeJCAlLfQjKDLY9cuFGd93WQtgdHY28ArcUhNzLpN7BoRA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1571737173; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=v9o3PLgWPIhPbSp3hKDReINWhL4kBVkEgVTNyDuR3Fk=; b=XeNf95klf+SxL/1d+I/H2lYDAScrlByuDZ1yszPgApqy/Onb5aWzmFJRHTWA+KJXQd4XqiydFNgkvTBlZh8Dihvtddwa+F9oKnAQbN4eog2rvXv/d9nOCUCSIF7RnEgr2N9CjVGaAwaqUcfHJWEAsWlsCVKCUk9LKv155R1lLwc= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by mx.zohomail.com with SMTPS id 1571737173009490.32060154278304; Tue, 22 Oct 2019 02:39:33 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-339-0tlSqcn4NWGTkgg_Y3IeGg-1; Tue, 22 Oct 2019 05:39:30 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id AAADB1800E01; Tue, 22 Oct 2019 09:39:25 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 842535D6B2; Tue, 22 Oct 2019 09:39:25 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 463081A507; Tue, 22 Oct 2019 09:39:25 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x9LIJcur000570 for ; Mon, 21 Oct 2019 14:19:38 -0400 Received: by smtp.corp.redhat.com (Postfix) id 29C5561F44; Mon, 21 Oct 2019 18:19:38 +0000 (UTC) Received: from mx1.redhat.com (ext-mx13.extmail.prod.ext.phx2.redhat.com [10.5.110.42]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1E70E62A7C for ; Mon, 21 Oct 2019 18:19:36 +0000 (UTC) Received: from mail-qk1-f175.google.com (mail-qk1-f175.google.com [209.85.222.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9EF253082135 for ; Mon, 21 Oct 2019 18:19:35 +0000 (UTC) Received: by mail-qk1-f175.google.com with SMTP id y189so13591594qkc.3 for ; Mon, 21 Oct 2019 11:19:35 -0700 (PDT) Received: from rekt.ibmuc.com ([2804:431:c7c6:7979:d16f:4e5e:8e8d:1141]) by smtp.gmail.com with ESMTPSA id d205sm9248741qke.96.2019.10.21.11.19.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Oct 2019 11:19:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1571737172; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=v9o3PLgWPIhPbSp3hKDReINWhL4kBVkEgVTNyDuR3Fk=; b=ghw0q9cXbjeBfCoNRQWgLnJrEZP7Dgi2ntaWewED6cw3KK1feVyyeCDFMvS9gC7GRcpRYr UnEyX5ZckAS5PO5jNAeuyJNCxT2+vIQzYPgrPDa0p+aWrHFON2GtVJtB6qKZ4/A9uYkg2f yMINAMFU16x4qFRCShsCiNJPeOAq5AE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1DMKmtt0uW4LSZhHNgl1qsdVkqxE7aSijWIQdFaViAg=; b=dOTKt4tIOyEv5Iw+w37g08GQvPHGk4Qet3W4/0pt2rg0RWaF8H/uxq3EAKuIKsQLAC /TTdun+qW/DPNPwZey3txAyzjlZZgg+ehjbl7ftovOUFquHce6HWj2510X5bmT7cAG0J 0f8mXWob0nq7JqRhFVfp4HmZzgA1cV+SHH3fSX09YbdEthP23rTNhGtF3JfqkUFvu7or ABP2NUIY43pwR3nAN4iozG4DYmwfaEY1f3l1KNaOfoVSpBr5vWp6HouiVRSqjLDTurdx /wiXSTg/ZLYhZbgQZ7vZtzjZB/sL7QmsTQywbuOKG6LzJlPapc6qN/9Nf+Y2Dh+o1qXT IGGg== X-Gm-Message-State: APjAAAUTD1YNgXCBLPwOPkWQS8Z0Woqi4InhyMNU5cSRWZ56HZ/5GTVA BF2keBLaPr4fRbHEtFKtbrJlwy3cGxw= X-Google-Smtp-Source: APXvYqyCzivcKkxqnTbDWUz0EmRYeUe7I0CL3CaiConx9fJ6uWKkqUn/yRL4OfbgGakys5weswHSag== X-Received: by 2002:a37:9e16:: with SMTP id h22mr19156800qke.374.1571681974798; Mon, 21 Oct 2019 11:19:34 -0700 (PDT) From: Daniel Henrique Barboza To: libvir-list@redhat.com Date: Mon, 21 Oct 2019 15:18:58 -0300 Message-Id: <20191021181911.14986-9-danielhb413@gmail.com> In-Reply-To: <20191021181911.14986-1-danielhb413@gmail.com> References: <20191021181911.14986-1-danielhb413@gmail.com> MIME-Version: 1.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.42]); Mon, 21 Oct 2019 18:19:35 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.42]); Mon, 21 Oct 2019 18:19:35 +0000 (UTC) for IP:'209.85.222.175' DOMAIN:'mail-qk1-f175.google.com' HELO:'mail-qk1-f175.google.com' FROM:'danielhb413@gmail.com' RCPT:'' X-RedHat-Spam-Score: 0.15 (DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS) 209.85.222.175 mail-qk1-f175.google.com 209.85.222.175 mail-qk1-f175.google.com X-Scanned-By: MIMEDefang 2.84 on 10.5.110.42 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com Cc: Daniel Henrique Barboza Subject: [libvirt] [PATCH v1 08/21] openvz_conf.c: remove unneeded cleanup label X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-MC-Unique: 0tlSqcn4NWGTkgg_Y3IeGg-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Signed-off-by: Daniel Henrique Barboza --- src/openvz/openvz_conf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/openvz/openvz_conf.c b/src/openvz/openvz_conf.c index 4646308c48..f12c91aa88 100644 --- a/src/openvz/openvz_conf.c +++ b/src/openvz/openvz_conf.c @@ -873,12 +873,11 @@ openvzLocateConfDir(void) while (conf_dir_list[i]) { if (virFileExists(conf_dir_list[i])) { ret =3D g_strdup(conf_dir_list[i]); - goto cleanup; + return ret; } i++; } =20 - cleanup: return ret; } =20 --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list