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

dselect: Do not forward declare ‘enum quitaction’

Standard C++ does not allow declaring an incomplete enum type. And the
enum is already declared in «dselect/dselect.h» which gets included
first.

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

+ 0 - 2
dselect/bindings.h

@@ -21,8 +21,6 @@
 #ifndef BINDINGS_H
 #define BINDINGS_H
 
-enum quitaction;
-
 struct keybindings {
   struct interpretation;