This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=ea257afcf0671e828d15292f1d3d931a0a26c5e8 commit ea257afcf0671e828d15292f1d3d931a0a26c5e8 Author: Guillem Jover <[email protected]> AuthorDate: Sun Jan 18 05:33:24 2026 +0100 dselect: Mark keybindings methods only accessing static members as static Warned-by: cppcheck Changelog: internal --- dselect/bindings.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dselect/bindings.h b/dselect/bindings.h index f73e8232c..87aae4c8e 100644 --- a/dselect/bindings.h +++ b/dselect/bindings.h @@ -57,8 +57,8 @@ private: bool bind(int key, const char *action); public: - int name2key(const char *name); - const char *key2name(int key); + static int name2key(const char *name); + static const char *key2name(int key); bool bind(const char *name, const char *action) { return bind(name2key(name), action); } -- Dpkg.Org's dpkg

