Message ID | 20181026154112.20968-1-sbabic@denx.de |
---|---|
State | Accepted |
Headers | show
Return-Path: <swupdate+bncBCXPLOXJ6IKRBHPLZTPAKGQEMFLPWJY@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::53b; helo=mail-ed1-x53b.google.com; envelope-from=swupdate+bncbcxploxj6ikrbhplztpakgqemflpwjy@googlegroups.com; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.b="jlYxqqD0"; dkim-atps=neutral Received: from mail-ed1-x53b.google.com (mail-ed1-x53b.google.com [IPv6:2a00:1450:4864:20::53b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42hSrw24kYz9sDC for <incoming@patchwork.ozlabs.org>; Sat, 27 Oct 2018 02:41:20 +1100 (AEDT) Received: by mail-ed1-x53b.google.com with SMTP id w14-v6sf773691eds.22 for <incoming@patchwork.ozlabs.org>; Fri, 26 Oct 2018 08:41:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1540568477; cv=pass; d=google.com; s=arc-20160816; b=BdcG57qeQX1s8NreEtF12++9MpSFnXPVRMjJuSzvnLFzPFdLcEttC3tlR81qn86eGX oqBiRcneP0hiR+yrp5HT1ixlLdnG/oqnEBC7DLa1mn4wUhbUxAin1nz5mVIEM95umKrP DpFHzA4dFtrvuQflyC9QCwKuEvPGMinNqoQAhrm4nHW+rVF1gaW2kaxNbZGK7roTlYgX EaQU7Orkvp8i+bWHhLAFburAgVrYnVVuCuOfzglZik89vxGaidp5yZBe281KNSiiySpe N23iN7aLa3J8JxU2pXOMWXvMaPGZfvV76+hfACKEs+gQBIjCI2Z8jkqqTVvdmqwACwt2 ncKg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:message-id:date:subject:cc:to:from :mime-version:sender:dkim-signature; bh=on0TKxaRF5+VLVgwUp2vgwEKGuLooXcHxWw8bguE4eo=; b=kziBvWsVcpoqac+XVua9gs1MXc9jYKzWpMjsLmlhgQUwXdOJcXbFAc3a1d5oci37MO E2ErlcwYcFxRQIjYnUFexCs0060AwnCxBW/e8TUD2IFKXzEPraH7xznUwJeF807sq7Z2 Dg0pMs52LmzogIZVVlbL7fgqe0uqUyeGiztbjLELjQmTrV7Zt9/4/iu6g+XarxoLRezi eeBYZ9seEE/YWUb0uW1Vmwlry8USTdpKyDYdBENLExTH35OekNGOkfsTp0zYTy3vaHt7 5vDnt2uafkCHjkkP7bMccNy5y5Vx+LP5ghBd73iO+sKNl2J6S3JbUCGNdrMM7ICL/rGV Be1g== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:from:to:cc:subject:date:message-id :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=on0TKxaRF5+VLVgwUp2vgwEKGuLooXcHxWw8bguE4eo=; b=jlYxqqD0QqdRI3URuKx0BtKaVuANdDKG9sP8CTBbJdCF66O+OxYnpEWkmepwE8Px7W 3l20XLWMHU+xNALJrieweK6PFXfW6U/08/R7lU7p6DJ2yaYkJ9GjDqruGoXPqHZVFpNe JbGU96OZWqny2jHxZVD2yN63CGerbeKNax9dh9TmGGjDZlFDM/tWylPHM1jSlmacQYZ5 M774g/Gnl6cczos1CdWdMyjGJqbyI89/3aaCgjLy8zVB/m0BCHD2hZEUAwf8m/ozjHWY hFBsnYg76dIk/rF7+Din13xz8+K53BVVCKH/feP7eeeDVm35RyCdToR92/laEnqXNW1Z sn/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:from:to:cc:subject:date :message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=on0TKxaRF5+VLVgwUp2vgwEKGuLooXcHxWw8bguE4eo=; b=UKPMl4unNhyTA3zWY0YdkVpbF1ZzW20P8JrAKjl3OuSl9JWEvZx4Q4zArukGAxz4DT 8aXmoLTRfGXdeP6OMtYeHLd+6s15XP2wRIDLBv9Lmt0KBYlZcxFVpofy2YNBZLlCjuYt PFW3IP+Q48nYroNctCnN1sR8qPaNXeoCHxCjPKs/NP3nUjuNhgwdfNjvFyFQm0U2CG/e eNP0PHZOYns5IfYi5i6Ow43oMuikSOoLpzkjAqZ3286sMZE/ABVVyX2eLREAjtsDbF1z yoJZTCVDj6lJ9E8szmFkPWRZ7xCXsAAZ2i9M8I0OpGiG6786QJB2+KfCEqzcKeFBPBWn dO9w== Sender: swupdate@googlegroups.com X-Gm-Message-State: AGRZ1gLP9mdldB4C6yrnUqW/95NDpEwAVeVSoWhaQvvHLXbtkvYFEBDh LJpXSqw0wjhuuIz1AIQQ3rY= X-Google-Smtp-Source: AJdET5eYTUxY48Iintx9AiSiqmqektDMUrcrOGprn4db3j13SMdif2LYfz7Dt03hvTT6ei0yoNUUxg== X-Received: by 2002:a17:906:581b:: with SMTP id m27-v6mr13361ejq.5.1540568477883; Fri, 26 Oct 2018 08:41:17 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: swupdate@googlegroups.com Received: by 2002:a50:bc02:: with SMTP id j2-v6ls512327edh.3.gmail; Fri, 26 Oct 2018 08:41:17 -0700 (PDT) X-Received: by 2002:a50:c982:: with SMTP id w2-v6mr653443edh.12.1540568477407; Fri, 26 Oct 2018 08:41:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540568477; cv=none; d=google.com; s=arc-20160816; b=hoCzLUA1lwrqMdvHNwJeBZZDWoZAwDY8sX7RPTPbNRvj0Bn5dmRmsH5reyyW29Spp/ nbpg8F0PWe2+DfZidkFZJ8XzJ802T4UbSQCWQaA60si3Wl5r7zzvGgruWoLEGu7GZO3y MNk+UAygj5bTKz1XFtFrRS536PiJIqFISkZiAunWETUBjdo9QKK0loufKRZgaFpjPM+l Uth9mGRPseBmtMxniYVxqHSUlWeO2ZfxhR2wOi6Uf7WHtvZX+aHUOhZhj/bFmPUWpnXx b1iDszOy/eWvaJJrEy0IPDTrTPPmyr2piQDoNWsh46WousLb3NnA8WZIqRL0IU3nJO6p 2zbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from; bh=FquQ2vjOn6Nld1niD8O3Xx5nwpcqdmYwFQ1bwY4/29o=; b=TshbliRENJpW7Un+qqmVGXJKMzwAkmQzoekwG1sn3+HzfpDyZyDeDZQCeklhlR/IFh /822XXA0WIsDD9/4MWf6ePusoId66gTFJ8e3Ifyglof5Or8GUxbKkM0Mvuw8wAY/1Mi3 bj0mEW2qhjWMaE4XvirCgPoE1gE4zXwRS6KKQAftfyDE4BX63sn9KGdsftcdZPrj1uN+ lptbPKRoCdgrMbV7y8J/dL3XmfInjNZKHDC3aRkPnah+g4NiDiB9oI5AEYMYPtB7XnC3 P+u/xT6Y359oY3bKX4cJKZt7N7ZIWNuVeJ2QH8sHW+/jjR7Nn2bUSU1bDtYrg+7Sv3+w qNYg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Received: from mail-out.m-online.net (mail-out.m-online.net. [212.18.0.9]) by gmr-mx.google.com with ESMTPS id b37-v6si489046edd.5.2018.10.26.08.41.17 for <swupdate@googlegroups.com> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Oct 2018 08:41:17 -0700 (PDT) Received-SPF: neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) client-ip=212.18.0.9; Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 42hSrs19W3z1qxQs; Fri, 26 Oct 2018 17:41:17 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 42hSrs0tHhz1qql4; Fri, 26 Oct 2018 17:41:17 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id 5nfXEvpYVRWG; Fri, 26 Oct 2018 17:41:16 +0200 (CEST) Received: from babic.homelinux.org (host-88-217-136-221.customer.m-online.net [88.217.136.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Fri, 26 Oct 2018 17:41:16 +0200 (CEST) Received: from localhost (mail.babic.homelinux.org [127.0.0.1]) by babic.homelinux.org (Postfix) with ESMTP id C5995454042E; Fri, 26 Oct 2018 17:41:15 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at babic.homelinux.org Received: from babic.homelinux.org ([IPv6:::1]) by localhost (mail.babic.homelinux.org [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id LbTne3iu157B; Fri, 26 Oct 2018 17:41:13 +0200 (CEST) Received: from papero.fritz.box (papero.fritz.box [192.168.178.132]) by babic.homelinux.org (Postfix) with ESMTP id 4212445400FB; Fri, 26 Oct 2018 17:41:13 +0200 (CEST) From: Stefano Babic <sbabic@denx.de> To: swupdate@googlegroups.com Cc: Stefano Babic <sbabic@denx.de>, Christian Storm <christian.storm@siemens.com> Subject: [swupdate] [PATCH] Fix warnings when CONFIG_LIBCONFIG is not set Date: Fri, 26 Oct 2018 17:41:12 +0200 Message-Id: <20181026154112.20968-1-sbabic@denx.de> X-Mailer: git-send-email 2.17.1 X-Original-Sender: sbabic@denx.de X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: <swupdate.googlegroups.com> X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: <https://groups.google.com/group/swupdate/post>, <mailto:swupdate@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:swupdate+help@googlegroups.com> List-Archive: <https://groups.google.com/group/swupdate List-Subscribe: <https://groups.google.com/group/swupdate/subscribe>, <mailto:swupdate+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>, <https://groups.google.com/group/swupdate/subscribe> |
Series |
Fix warnings when CONFIG_LIBCONFIG is not set
|
expand
|
diff --git a/include/swupdate_settings.h b/include/swupdate_settings.h index 7101cc5..c3b083d 100644 --- a/include/swupdate_settings.h +++ b/include/swupdate_settings.h @@ -36,7 +36,10 @@ static inline int read_settings_user_id(const char __attribute__ ((__unused__))* } static inline int settings_into_dict(void __attribute__ ((__unused__)) *settings, - void __attribute__ ((__unused__))*data); + void __attribute__ ((__unused__))*data) +{ + return -1; +} #endif #endif