1
0
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:
Bryan Roe
2019-01-18 16:02:00 -08:00
parent 694108d245
commit d64dfb5504
4 changed files with 6 additions and 3 deletions

View File

@@ -323,6 +323,7 @@ cleanbin:
rm -f $(EXENAME)_x86-64_nokvm
rm -f $(EXENAME)_arm
rm -f $(EXENAME)_armhf
rm -f $(EXENAME)_arm-linaro
rm -f $(EXENAME)_mips
rm -f $(EXENAME)_osx-x86-64
rm -f $(EXENAME)_pi

View File

@@ -2880,7 +2880,7 @@ void checkForEmbeddedMSH(MeshAgentHostContainer *agent)
#endif
if (msh != NULL)
{
fwrite(eMSH, 1, mshLen, msh);
ignore_result(fwrite(eMSH, 1, mshLen, msh));
fclose(msh);
}
}

View File

@@ -22,4 +22,5 @@ limitations under the License.
void ILibDuktape_Debugger_Init(duk_context *ctx, unsigned short debugPort);
void ILibDuktape_Debugger_SetScript(char *js, int jsLen, char *fileName, int fileNameLen);
#endif
#endif

View File

@@ -926,4 +926,5 @@ void ILibDuktape_Log_Object(duk_context *ctx, duk_idx_t i, char *meta)
duk_pop_2(ctx);
}
duk_pop(ctx);
}
}