mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
uppsrc: Some warnings fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@13010 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
64633ff7be
commit
3289c35dc3
4 changed files with 5 additions and 5 deletions
|
|
@ -340,7 +340,7 @@ bool LocalProcess::DoStart(const char *command, const Vector<String> *arg, bool
|
|||
#endif//DO_LLOG
|
||||
|
||||
if(cd)
|
||||
chdir(cd);
|
||||
(void)chdir(cd);
|
||||
|
||||
LLOG("running execve, app = " << app << ", #args = " << args.GetCount());
|
||||
if(envptr) {
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ const char *gcc_bm =
|
|||
R"(BUILDER = "GCC";
|
||||
COMPILER = "";
|
||||
COMMON_OPTIONS = "";
|
||||
COMMON_CPP_OPTIONS = "-std=c++14 -Wall -Wno-parentheses";
|
||||
COMMON_CPP_OPTIONS = "-std=c++14 -Wall -Wno-parentheses -Wno-maybe-uninitialized -Wno-strict-overflow";
|
||||
COMMON_C_OPTIONS = "";
|
||||
COMMON_LINK = "";
|
||||
COMMON_FLAGS = "";
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ ArrayMap<String, LayDesEditPos>& LayFileDataVar()
|
|||
void SerializeLayEditPos(Stream& s)
|
||||
{
|
||||
ArrayMap<String, LayDesEditPos>& filedata = LayFileDataVar();
|
||||
int dummy;
|
||||
int dummy = 0;
|
||||
if(s.IsStoring()) {
|
||||
for(int i = 0; i < filedata.GetCount(); i++) {
|
||||
String fn = filedata.GetKey(i);
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ void TargetMode::Serialize(Stream& s)
|
|||
s / ver;
|
||||
s % target_override % target;
|
||||
if(ver < 3) {
|
||||
int dummy;
|
||||
int dummy = 0;
|
||||
s % dummy;
|
||||
}
|
||||
if(ver < 1) {
|
||||
|
|
@ -23,7 +23,7 @@ void TargetMode::Serialize(Stream& s)
|
|||
s % version;
|
||||
s % def % package;
|
||||
if(ver == 2) {
|
||||
int dummy;
|
||||
int dummy = 0;
|
||||
s % dummy;
|
||||
}
|
||||
if(ver >= 3)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue