Skip to content

Commit be49185

Browse files
committed
Fixed cppcheck-opensource#5925: The first include in path.cpp is not path.h and astyle run.
1 parent c8e4ac1 commit be49185

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

cfg/posix.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@
5858
<podtype name="in_port_t" sign="u" size="2"/>
5959
<podtype name="in_addr_t" sign="u" size="4"/>
6060
<podtype name="socklen_t" sign="u" size="4"/>
61-
<podtype name="sa_family_t" sign="u" size="2"/>
62-
61+
<podtype name="sa_family_t" sign="u" size="2"/>
62+
6363
</def>

lib/path.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
#if defined(__GNUC__) && (defined(_WIN32) || defined(__CYGWIN__))
2020
#undef __STRICT_ANSI__
2121
#endif
22+
#include "path.h"
2223
#include <algorithm>
2324
#include <vector>
2425
#include <sstream>
2526
#include <cstring>
2627
#include <cctype>
27-
#include "path.h"
2828

2929
/** Is the filesystem case insensitive? */
3030
static bool caseInsensitiveFilesystem()

0 commit comments

Comments
 (0)