Преглед изворни кода

dselect: Change keybindings forward declaration to a struct

This matches the type of the declaration in «dselect/bindings.h».

This was spotted by a run with the clang static analyzer.
Guillem Jover пре 17 година
родитељ
комит
39b0cc3c85
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      dselect/dselect.h

+ 1 - 1
dselect/dselect.h

@@ -36,7 +36,7 @@ struct helpmenuentry {
   const struct helpmessage *msg;
 };
 
-class keybindings;
+struct keybindings;
 
 class baselist {
 protected: