Android: remove app_dummy() calls

Change-Id: I0ebd4502f98d009ce5afe8c8bafb629284f0366c
parent ec6b0bf2
...@@ -18,9 +18,6 @@ ...@@ -18,9 +18,6 @@
extern int main(int argc, char **argv); extern int main(int argc, char **argv);
void android_main(android_app *app) { void android_main(android_app *) {
// Make sure glue isn't stripped.
app_dummy();
main(0, NULL); main(0, NULL);
} }
...@@ -17,9 +17,7 @@ ...@@ -17,9 +17,7 @@
#include "android_native_app_glue.h" #include "android_native_app_glue.h"
#include "animal_generated.h" // Includes "flatbuffers/flatbuffers.h". #include "animal_generated.h" // Includes "flatbuffers/flatbuffers.h".
void android_main(android_app *app) { void android_main(android_app *) {
app_dummy();
flatbuffers::FlatBufferBuilder builder; flatbuffers::FlatBufferBuilder builder;
auto name = builder.CreateString("Dog"); auto name = builder.CreateString("Dog");
auto sound = builder.CreateString("Bark"); auto sound = builder.CreateString("Bark");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment