Просмотр исходного кода

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 лет назад: 16
Родитель
Сommit
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: