[Rpm-maint] [rpm-software-management/rpm] Fix GCC compiler error (PR #2656)

Dmitry Mikushin notifications at github.com
Wed Sep 13 00:11:29 UTC 2023


Fixing the following compiler error on gcc (GCC) 8.5.0 20210514 (RedHat 8.5.0-18):

```
/root/rpm/plugins/dbus_announce.c:69:5: error: a label can only be part of a statement and a declaration is not a statement
     int ignore = dbus_error_has_name(&err, DBUS_ERROR_NO_SERVER) ||
     ^~~
```
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/2656

-- Commit Summary --

  * Fixing the following compiler error on gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-18):

-- File Changes --

    M plugins/dbus_announce.c (12)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/2656.patch
https://github.com/rpm-software-management/rpm/pull/2656.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2656
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/2656 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230912/81cd6601/attachment-0001.html>


More information about the Rpm-maint mailing list