(svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int
This commit is contained in:
@@ -18,9 +18,7 @@
|
||||
#include "gfx_type.h"
|
||||
#include "window_type.h"
|
||||
|
||||
enum {
|
||||
WIDGET_LIST_END = -1, ///< indicate the end of widgets' list for vararg functions
|
||||
};
|
||||
static const int WIDGET_LIST_END = -1; ///< indicate the end of widgets' list for vararg functions
|
||||
|
||||
/** Bits of the #WWT_MATRIX widget data. */
|
||||
enum MatrixWidgetValues {
|
||||
|
Reference in New Issue
Block a user