macro.c: In function ‘mbopt’:
macro.c:895:19: warning: unused variable ‘me’ [-Wunused-variable]
895 | rpmMacroEntry me = mb-me;
| ^~
rpmlua.c: In function ‘fd_seek’:
rpmlua.c:985:22: warning: unused variable ‘mode’ [-Wunused-variable]
985 | static const int mode[] = {SEEK_SET, SEEK_CUR, SEEK_END};
| ^~~~
The former is actually unused, the latter should be used.
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/1410
-- Commit Summary --
* Fix warnings from set but unused, variables in macro.c and rpmlua.c
-- File Changes --
M rpmio/macro.c (1)
M rpmio/rpmlua.c (2)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/1410.patch
https://github.com/rpm-software-management/rpm/pull/1410.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1410
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint