瀏覽代碼

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;