bugaevc / wl-clipboard

Command-line copy/paste utilities for Wayland
GNU General Public License v3.0
1.62k stars 60 forks source link

fix "error: format not a string literal and no format arguments [-Wer… #183

Closed Artturin closed 1 year ago

Artturin commented 1 year ago

…ror=format-security]"

https://fedoraproject.org/wiki/Format-Security-FAQ

Many distros enable this Werror (ex. Arch, NixOS, Fedora)

Encountered here https://github.com/nix-community/nixpkgs-wayland/actions/runs/5447027039/jobs/9908550198#step:5:674

bugaevc commented 1 year ago

Pushed with a tweaked commit message as https://github.com/bugaevc/wl-clipboard/commit/80d97713814508ae8e55d078897df2044d26fa66. Thanks!