Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- cat src/gui/widget/icons.h | \
- while read define name icon; do
- if [ "$define" != "#define" -o "$name" = "__gui_widget_icons_h__" ]; then
- continue
- fi
- if [ $(git grep -l "$name" | wc -l) -le 1 ]; then
- echo "unused: $name"
- fi
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement