mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-06 00:13:33 +00:00
Fixed compiler warnings on some toolchains
This commit is contained in:
1
makefile
1
makefile
@@ -323,6 +323,7 @@ cleanbin:
|
|||||||
rm -f $(EXENAME)_x86-64_nokvm
|
rm -f $(EXENAME)_x86-64_nokvm
|
||||||
rm -f $(EXENAME)_arm
|
rm -f $(EXENAME)_arm
|
||||||
rm -f $(EXENAME)_armhf
|
rm -f $(EXENAME)_armhf
|
||||||
|
rm -f $(EXENAME)_arm-linaro
|
||||||
rm -f $(EXENAME)_mips
|
rm -f $(EXENAME)_mips
|
||||||
rm -f $(EXENAME)_osx-x86-64
|
rm -f $(EXENAME)_osx-x86-64
|
||||||
rm -f $(EXENAME)_pi
|
rm -f $(EXENAME)_pi
|
||||||
|
|||||||
@@ -2880,7 +2880,7 @@ void checkForEmbeddedMSH(MeshAgentHostContainer *agent)
|
|||||||
#endif
|
#endif
|
||||||
if (msh != NULL)
|
if (msh != NULL)
|
||||||
{
|
{
|
||||||
fwrite(eMSH, 1, mshLen, msh);
|
ignore_result(fwrite(eMSH, 1, mshLen, msh));
|
||||||
fclose(msh);
|
fclose(msh);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,4 +22,5 @@ limitations under the License.
|
|||||||
void ILibDuktape_Debugger_Init(duk_context *ctx, unsigned short debugPort);
|
void ILibDuktape_Debugger_Init(duk_context *ctx, unsigned short debugPort);
|
||||||
void ILibDuktape_Debugger_SetScript(char *js, int jsLen, char *fileName, int fileNameLen);
|
void ILibDuktape_Debugger_SetScript(char *js, int jsLen, char *fileName, int fileNameLen);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -926,4 +926,5 @@ void ILibDuktape_Log_Object(duk_context *ctx, duk_idx_t i, char *meta)
|
|||||||
duk_pop_2(ctx);
|
duk_pop_2(ctx);
|
||||||
}
|
}
|
||||||
duk_pop(ctx);
|
duk_pop(ctx);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user