Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • X xdpyinfo
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • xorg
  • app
  • xdpyinfo
  • Merge requests
  • !6

fix -Wunused-[...] compiler warnings

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Alan Coopersmith requested to merge alanc/xdpyinfo:ThomasKuehne/xdpyinfo-compiler_warnings into master Apr 03, 2022
  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 1

Split off from !3 (closed)

xdpyinfo.c:148:1: warning: ‘silent_errors’ defined but not used [-Wunused-function]
  148 | silent_errors(_X_UNUSED Display *dpy, _X_UNUSED XErrorEvent *ev)
xdpyinfo.c:155:14: warning: ‘old_handler’ defined but not used [-Wunused-variable]
  155 | static int (*old_handler)(Display *, XErrorEvent *) = NULL;

Signed-off-by: Thomas Kuehne <thomas@kuehne.cn>
Edited Apr 03, 2022 by Alan Coopersmith
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: ThomasKuehne/xdpyinfo-compiler_warnings