Message ID | 20240919064738.79121-1-michael.adler@siemens.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <swupdate+bncBCLP7I7WWMHRBSMSV63QMGQEFLKAANQ@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20230601 header.b=hJUoDqfv; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2607:f8b0:4864:20::b3a; helo=mail-yb1-xb3a.google.com; envelope-from=swupdate+bncbclp7i7wwmhrbsmsv63qmgqeflkaanq@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-yb1-xb3a.google.com (mail-yb1-xb3a.google.com [IPv6:2607:f8b0:4864:20::b3a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4X8R1n68hwz1y2t for <incoming@patchwork.ozlabs.org>; Thu, 19 Sep 2024 16:48:45 +1000 (AEST) Received: by mail-yb1-xb3a.google.com with SMTP id 3f1490d57ef6-e202bc54767sf241183276.0 for <incoming@patchwork.ozlabs.org>; Wed, 18 Sep 2024 23:48:44 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1726728522; cv=pass; d=google.com; s=arc-20240605; b=Bz9MlvakCqbb4ZZVUDKzNFNB+JVy7I7CL1sskevzQ3Y/ei6g2gRa7xdzlBGVtap8/y Z/YZezh/SteC4BOGgWXYJo8tdyjKwmK94iQOHUJS93q2OjNMIaSPIn0nEuJpgVeiZ9w0 fNiKAbhdflY8UsvsXBny61tYyaYwCEP9dpi5S3LzOnTFVTIN//PDWGZjxNU7WlK+VAkU NuDaWaD9Gx66Oh0L8udSWA3pNTJhfRqXIliZPg5o4a0sCj35yy6j1lov5EZUh9jCeYDq R7ApCfzq+Q4M37aDoKRQB8Mtn8d3eR7uotksRUUgG9NctE1Uy/yWUnSkcSsAjRcnJIcr CEbQ== ARC-Message-Signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:mime-version:message-id :date:subject:cc:to:from:dkim-signature; bh=kGIXaMiSMaLMo6B6ZH1R9QIZBU4xbo3qZGV/n49Aa8g=; fh=E6DwvWTf8TlC2GaJgvkoiVdUqcR4mRNFwFLsBeUrKIU=; b=Y2OCSkqND/YwCiddg3h2hvIS7m/Vmuy1YipOWwDEMyD358h5Uxq3ezvGgjwOCfky4x em96WgKaLBaseX43GghoktfwTqZHpJHs+Gk2jDxPpskXu8XREZCvJberZnlAfRlLaISM FWrIBxKLLF0ANawaqTiJ1IwMqwKqGFq/C+8LzYm71HViONcom7qN4rFUa2rq8lHg1jqD 6xYsnhLrU2U1cRfU+cUUV5EhxkOmPxg1ZI29uyBeln54FfjfcxCo7xM3ESB78hhafM4R LIXm0/Zw4e9jEMdGZV6vOxsKb7oXjcSc92VTOjbhTJNLoIeGRDoBLEe3Vt8esjicUr87 XDdA==; darn=patchwork.ozlabs.org ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=RYgfVQKv; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of michael.adler@siemens.com designates 2a01:111:f403:260d::608 as permitted sender) smtp.mailfrom=michael.adler@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1726728522; x=1727333322; darn=patchwork.ozlabs.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=kGIXaMiSMaLMo6B6ZH1R9QIZBU4xbo3qZGV/n49Aa8g=; b=hJUoDqfv1PaHOfUP4qlcbxGLLKeEc9VauG58MI1180fsPi1qG1VouOfyujFOX7E61W RyAIq1FS30Q+1UsqtydwxI+sPNv6YCrRbdyfY+pn4YpWcywuq20lcx8yO4sJKtLMgcJA gm2bDKJG75dhTAzXJr5qmIHQIcOqRhRyTnElHRMUGW8AqFap2nv0/sETkEw3qCGCeMql oIeafB2iQ6nVzfUt2frHw1EhAYtWbb3bFsUM1LPxF8ims2QxKZr9yLfrOSbEt7kLmKpS Qx2KNPYpQVoqYhGOH0bXpwpun8mncGtrTiUQouNBbDfL04g7iQM5PBtd56mN3yBHTMRe DPeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726728522; x=1727333322; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=kGIXaMiSMaLMo6B6ZH1R9QIZBU4xbo3qZGV/n49Aa8g=; b=Ki9uG50x+iqyPlH7efACUVSdLf3t4FWg4lNieVQqpWmNdTG7OF0LNImoBc0lBuMQ2+ hyBvMlbIyrBLJ/Lg8F6k/vGixrMEoX925zY98+1+FptgB/NztOXMlCwR/xUHKKCEc5fR S8csd7ZFlagppSWxPGv5DXzqLGvoBohChyZHEqJM+RDnSP5+N2PHNWtQgcx/MHjE2ci8 vM9Ld7Nm42wcShkpZORkIXH6ZlG+P3Nf0ZF08Ltia11TPgWglBzzAQ1VinORYpHltGDT 1ZoR9xBRMXwrOsyP0r1P+PNKmGXRmKrjFy1gpx3QPXfLaaGlUACN6tCsAxS66wllrJsY EW4Q== X-Forwarded-Encrypted: i=3; AJvYcCULT49Dn9X9wzx07nq9GCiF3XdwAo/A0qv+Jbdmv1SQ4saDE4ce9UpNMDdxutpybRkI28ILjo36EQ==@patchwork.ozlabs.org X-Gm-Message-State: AOJu0YxJARobmf8dBUK5/ZuoShAwu5CQnVGLZb0H/Hgamrkp1gPlecR/ PB7rUoKhsGgRvhdqsj8lRwvHFYYcuNUlzjMliDDt82nHO8DBg0P+ X-Google-Smtp-Source: AGHT+IETzCW/ZSgmPlIoagKcitnyHl4udPijYqjht6ooMsNI9voJ15ZH71C3luqIo32buXiOLn9Lug== X-Received: by 2002:a05:6902:722:b0:e20:1301:7afb with SMTP id 3f1490d57ef6-e2013017b9emr8232029276.27.1726728521977; Wed, 18 Sep 2024 23:48:41 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:6902:708:b0:e1a:ac15:4b88 with SMTP id 3f1490d57ef6-e2027c94d90ls165400276.0.-pod-prod-07-us; Wed, 18 Sep 2024 23:48:40 -0700 (PDT) X-Received: by 2002:a05:690c:4d45:b0:6db:c7a8:b0c8 with SMTP id 00721157ae682-6dbc7a8b298mr198622637b3.15.1726728520317; Wed, 18 Sep 2024 23:48:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1726728520; cv=pass; d=google.com; s=arc-20240605; b=NCvfaN6t1g9RKc48Dr2dPtODrAlqPcRmaYnY150C1q97ru+DpaQI3CZ8PSX7etl7rw nJJwiyjxrdrUZmhGTq+1gjxnNLs+6YJOY38KxLPq5PnpXfjHxEiCTBNMj1Ha+7EMHKak cYYe7R6gut5scknmsACh/CD1WeTru7QnmjOFEw3e48dmLPqLqPeswJkHrZZeW5tmw3eb IVO8KuWRzTbDqyJe9pKZkSF7cmQNjGvtzR7oQH7WvqvHJc+cPgEwEZ5kRdSEq2GO5dFR t8W1pRh60204wKsdoiBaVr7bh2aNMDpLmB+9nNxYQON4jTTU8zhKaBk6lD5r5ZmjLHNm 7Exg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=mime-version:content-transfer-encoding:message-id:date:subject:cc :to:from:dkim-signature; bh=cAYLRN4IoAfrmljRoO9AsmaSENtFbVT7IklU+8+h07s=; fh=pJ2QQAjkJ3PWvKTF55tgLj/Eq5DHqWw4uU+orlV1UBs=; b=YtsvgDZknGGrX4hBF/x3JljT28HPzJ8Im6cELfq+5lHuxnM4dNTsQGGCeqTYqy7+aj OJfhwvqF0T5CdvRymD+NhBUYcMDtLoISTAhfaPaDQkXycZoMtq9j1hI5TicflRWgkapK He3eI61K9+FSCTSq9vmNRVtsFRBL2MFZejPTX/vsEmGDrVLQ2g/2Vf0pdD9fdZr70xTH sLjyJDOA3VwTpkN5XieZKaG7ApGayDGTUvMkz1AL6JKCwHNRfPIwjtRgoFoo9c/fJe5i rdI8dUDuT8XxKx11O/UhFEm8t6YfJSonQRhUcqldkuyRB6fgKk+hQE93W/Om9aa9WgEZ Jhgw==; dara=google.com ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=RYgfVQKv; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of michael.adler@siemens.com designates 2a01:111:f403:260d::608 as permitted sender) smtp.mailfrom=michael.adler@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on20608.outbound.protection.outlook.com. [2a01:111:f403:260d::608]) by gmr-mx.google.com with ESMTPS id 00721157ae682-6dbe2f3c0b5si6516187b3.4.2024.09.18.23.48.40 for <swupdate@googlegroups.com> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Sep 2024 23:48:40 -0700 (PDT) Received-SPF: pass (google.com: domain of michael.adler@siemens.com designates 2a01:111:f403:260d::608 as permitted sender) client-ip=2a01:111:f403:260d::608; ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=sCf7byfG8Ei9/h4OGx44y7tLeCpHxn+M6NG8lqWx7mvrVXOuQ3gPntjtzPoNyqsWAP+Li04+dgGSjmWkBh19e7SmPCqUxpDfybXAor7RxNiHk9d1llt+DoDo4kXjFHwVFXSpkhizHm4WC/ObBMHV+hgPDnVMKekWIAgayvGhIhaQVMB7EjOB+cPBGJrJDBiZ2YujlMdxu0jazrrEQ+1tgBT9s0izA4OwiiLuYUXSLs10EMk0ySYLqUOJX2PohNyz9wqWz7jqbfyj2YcKmzbQppE48DJVIWrNunXO3wxLnVYwYGqfbm74KDFivXEan2DxUhUvw3zHa8vHL2X1IlK4Xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=cAYLRN4IoAfrmljRoO9AsmaSENtFbVT7IklU+8+h07s=; b=ASpXTRb3qPyFJgJYbaDxkDPGXJQHV/tP5MA2HeRjJWZlCQw6HsxbypvZfPvEHA7TSJ464IuzpzUjzcSLD22FZWEBQAtLrBKiFltcMKavxUcliQi0R9uMPe753wAdzpwht1cACNhh/jmUNwNZjv+Egd3eqXS4+pEf2Y7sdM8ysFYgREgREnEYZBZb7g4YNxnJzQFTbvhkfSkSaQQEOY5LNDGtg5nVAqqm3iDoAJp6MmCzBvT5bsGzwzxt6eSRC6aCccRox+jz/Oxclywkmqna4XMqYzcliIgYNapxlfK8UuvQVDRx82r8OxjGFSW1LqbOxCyo3rsAtnFRLI/uYaw4cg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none Received: from PAXPR10MB4734.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:12e::15) by DB8PR10MB3129.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:111::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.21; Thu, 19 Sep 2024 06:48:37 +0000 Received: from PAXPR10MB4734.EURPRD10.PROD.OUTLOOK.COM ([fe80::7499:8576:c129:4b89]) by PAXPR10MB4734.EURPRD10.PROD.OUTLOOK.COM ([fe80::7499:8576:c129:4b89%6]) with mapi id 15.20.7962.022; Thu, 19 Sep 2024 06:48:37 +0000 From: "'Michael Adler' via swupdate" <swupdate@googlegroups.com> To: swupdate@googlegroups.com Cc: Michael Adler <michael.adler@siemens.com>, Christian Storm <christian.storm@siemens.com> Subject: [swupdate] [PATCH v2] style: label followed by a declaration is a C23 extension Date: Thu, 19 Sep 2024 08:47:38 +0200 Message-ID: <20240919064738.79121-1-michael.adler@siemens.com> X-Mailer: git-send-email 2.46.1 Content-Type: text/plain; charset="UTF-8" X-ClientProxiedBy: FR2P281CA0179.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:9f::15) To PAXPR10MB4734.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:12e::15) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR10MB4734:EE_|DB8PR10MB3129:EE_ X-MS-Office365-Filtering-Correlation-Id: cd8e212d-d10e-4091-161d-08dcd87716d0 X-MS-Exchange-AtpMessageProperties: SA X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|366016; X-Microsoft-Antispam-Message-Info: AqHQLnC88z/7/04BDEf1phLkWeEOTuKclD+eXu5AA7DskjqCxppB1FrI6DSu2/ZDdTrXer0rPDVELnJd9nzTwU6Z6POWDM1yeDYIjFsoD4klmvX1GZnHVY17axG1suIU82PCuDRHHS4GhxREtyA18S6YV1oyaxMN0AAl0DeSvdyeA2+TqEj/QEyWSko7g00kqxn90kHr4STP74FmqkeqBvKI81wpF5kwY5c2mCQwacfZpyM/2mrbQEiUvApXCOKs+E4+Z50kmmNIFiJZMerlTKmfIhO7ldkBcTdfaGwA21ppGpmlDG4JZZN2GasAFIAGDEEnkwwiFYKukqjUTdRFthmxfAYdbpm5FXxjcIrFNvKzLBJ4oWbk0+liJPXl2dWc0qGjvOlIRawifAvHhaI21dzIGmoFPZAwlUKQ82LvUOigcLzilKP5eDRMm0Mt1I0re3q4UTOCBt1III/GKpxUjweyxRfnVzJ3TvJ57clPpjusdZo8u1wdZ9Us90o9p+DUK/cm3k8L7YntGBtv/OabdFUHeb+5RFY1kOmvuEmI/7ox8+CycJ6kJ8rkTAOz3FG/jJMQXtF6NsasB40PnwXDjcAeexodP/ZwefXeWSwTnPl2q7CpAlQjwLYu1Yo8eYTV9L/60f6jyXYh1I1WtBQ29bpe31FNgDntXlkMR0oj4bEoEE0vAN3rq1X9dON1vYCbhc5ZDzgcoe+WJdtR7GefqnBOpZy/HbZuwHd2+7kzfXHe7K8FsQvJmtN5fOAAmvNlcu4MvlGngXwNjsaw3KPzGK6pFNvdP7e6RuE+cCOlR9pIiLwuHqz9qSe3yFHIl7BkRIHaiPYXvCYCpefR8ZiKUtwaecKqQxQzSsX+yHPlItMssGdJCzJb6Dr6xLyJi8Qy5Cge4wlyw0vOidJr6TVsNuUF1bfwnAe5IaW7jSqMVRPYbTBYU5yGKKZvSpb5IUGNB4jVDio2YB6WfwPcjNw6SCy/8JsSEwxjFMsZlBMB4DpwfYRszfn+y93TszOIai6LfjTDHlUb+s6/wqeSJKFO02k+h/IlBMRLn1rAZjbJURrlQLjon3OY2qaBH6NKbEu6YTEgovIMATWewWMpLpLkO1Qpd8rOQUQf85686mj1tw8oqckARUf0wsKEqm7ySMpzxBPBWWU0emRii3dAHuRdGkKK6Bvd4X8kRqCdisPG5dRyqr95UB9cJj5PY6KKmq7fZaHBCqKTxCXqgvKlghu8m2F8jJ4Z1IOzNGesBd7a8rluukCJF3/Btp5VaOUvuqVdze6GBpVeG4VNk/OsG4lx6JgYteN8ytjJtEXoIV4vD/6rQ0piONEQjClfu7iZIHurNLZMCxUgSzSvMzewjf1fjQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR10MB4734.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(376014)(366016);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: J+1aHHsgexutETo6owJYyOUib7XB80qhuAjTtMCqfe6PVJzmsyEzJ+wLcsOdcrhgxEDoJx7OP3gxhq8zEcZXWkqNkhICrMNfwwYZhwsuTw4FMR/xT+Xs1dEzMdahYJ+KdRIA8QxRrnVE39eXkvWR7GQFdr9f5H5Tc2WehkB6SUSBomnzapkvDNKrlxxp6+BJPIfaosq/aLsQ4Zx59L8vQn5wS1IRQs0BrYYXi06O/RPXVsHh+W6uywUrqH+VY3n/QxbikXxYsHt7SLv+jR6JAHrjvh5xvlwCBPEyyCDL7NDo85aLh+jTSRE6RKKmLWZNpHkERFAwZDlSeKgJY/sVNpZnINocaGtyF2MQvE6BmUIa30AWrpWxNkayLmvdfbG8L1zd5m4lLO0vxBK0p2Xv9SaAAVtBYU5vAGHM8lR68ES29cSfBVnQppNTWLfYO3DJcW4RonoB7BgTI00PwkHILe5NaSGXqyJsQyLBlGVTJgPObCbe0Bz6nHiKf9/Ybx4HBrx49otR7k2S3ToDrJl9AYMcxSiNu/MzDI2TGISnlDaARJyP7ikixQZwGS8cJ/IXks2GOfqmC9PYeT2inR20bdR7rpAu/zP2MKAdt99AcTGOUoyY2bmckMl7MjuFg7gmg6z/zrZTVsAhz3opf+758Rpz0uzYFrkXjpFI67CQuwaQ5e25hcUfuC7jeO38EO86JYJIg7tjMBTcJ0Ns4hbV4gr+2dDJ1u30+axus8CBoVkOujHdRB0t6iW14RNtJ+6sQ6clJ2AUeVM4R0txNtSsi76XePZ4n9g1Bce0vll5RsU/tVaZThgf992ZKrh482pdnSBTTTl91Nwj+IgtSf90/9X6ZTWwWRfNa9xvHbdjfvw/pDEY4XYo67bGXtF4LFYPQeFiQS3Y6DNpplnRtH5SpY27ngCt3/mSxFwBAv+lcT8QA7pW3vwlSwrK3DOhEBbKsR//DdHQ9ivL/F7U0aIY/Sf4oOF/5zJMIYxAAIOTvsjHbNHmcag5lpKEkfN4pooB4G0m/ZQHmatuoADyoHZNQ2ACTBzYyHVoKRCCsha5PI5bsC6TWMEATKL+R805zL23vc96MDCZP9+mMThAaubJ6uZZYvlt3plSg345s24tcmDQMLIFqkmxZYJTJZLXLWlsjl8rs+uVbRPogWzBZ7T5BN0hYIpsUMuD0HBoaB8NIhkowLAVCiI9iBuzQmEZp1GbsEBM93zFpogppM5q+o2Sjc+xecs8lz/eujHvmqhDgsKZL2Szwdsu3xx//Ohvo24WxlSNIUQEM6GDVwc28X9r4RD7ZYpn6wQX72gA30AeCSqrUh2EMR1nLaUYFvR0Riprtgj+RcREbHNTyryl2nFoWsxcPzC8V8EFADhgwo+mOENLBJtQnUDX3oUSYVZtnAgPthk+eNdwljlO3YEfl/s/TPVVac/Q5mx9lvJETR37ud1ZMFUV/G2x2lTrY0ukxoSlflHPlZbOTxLpWFLqNIkxEWMJP0EJQZAKw75woRkkwTgfxI1IvHjgTHx2VLoGpxfZmMP/d+fBYi+sxV6TY+C6zQuve/XGLwD3jscIt1Z5nOQiAemVW60KDXzp9JUz46QVjINwdnYWM7hvhWveorWwCw== X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-Network-Message-Id: cd8e212d-d10e-4091-161d-08dcd87716d0 X-MS-Exchange-CrossTenant-AuthSource: PAXPR10MB4734.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Sep 2024 06:48:37.6019 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 6HeMaTmEy5DtkyfF11JCQv2fWuowbPLzF0t8NoFiTfkxJgcaR3cLM47/fHVRFIh2fkAg2iiwimgKEGrJFMX5hI5Mdc+BEk9u3XdVMcTSDyk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR10MB3129 X-Original-Sender: Michael.Adler@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=RYgfVQKv; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of michael.adler@siemens.com designates 2a01:111:f403:260d::608 as permitted sender) smtp.mailfrom=michael.adler@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: Michael Adler <michael.adler@siemens.com> Reply-To: Michael Adler <michael.adler@siemens.com> 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 |
[v2] style: label followed by a declaration is a C23 extension
|
expand
|
On 19.09.24 08:47, 'Michael Adler' via swupdate wrote: > This fixes a (clang) compiler warning. > > Reported-by: Christian Storm <christian.storm@siemens.com> > Signed-off-by: Michael Adler <michael.adler@siemens.com> > Signed-off-by: Christian Storm <christian.storm@siemens.com> > --- > core/swupdate.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/core/swupdate.c b/core/swupdate.c > index dc818599..ddb6ffe1 100644 > --- a/core/swupdate.c > +++ b/core/swupdate.c > @@ -522,6 +522,7 @@ int main(int argc, char **argv) > * Parse once the command line just to find if a > * configuration file is passed > */ > + int fd; > while ((c = getopt_long(argc, argv, main_options, > long_options, NULL)) != EOF) { > switch (c) { > @@ -539,7 +540,6 @@ int main(int argc, char **argv) > exit(EXIT_SUCCESS); > break; > case 'E': > - int fd; > fd = open(optarg, O_RDONLY); > if (fd < 0) > exit(EXIT_FAILURE); Applied to -master, thanks ! Best regards, Stefano Babic
diff --git a/core/swupdate.c b/core/swupdate.c index dc818599..ddb6ffe1 100644 --- a/core/swupdate.c +++ b/core/swupdate.c @@ -522,6 +522,7 @@ int main(int argc, char **argv) * Parse once the command line just to find if a * configuration file is passed */ + int fd; while ((c = getopt_long(argc, argv, main_options, long_options, NULL)) != EOF) { switch (c) { @@ -539,7 +540,6 @@ int main(int argc, char **argv) exit(EXIT_SUCCESS); break; case 'E': - int fd; fd = open(optarg, O_RDONLY); if (fd < 0) exit(EXIT_FAILURE);