Android: remove app_dummy() calls

Change-Id: I0ebd4502f98d009ce5afe8c8bafb629284f0366c
This commit is contained in:
Wouter van Oortmerssen 2019-08-23 14:31:31 -07:00
parent ec6b0bf297
commit cd75a36587
2 changed files with 2 additions and 7 deletions

View File

@ -18,9 +18,6 @@
extern int main(int argc, char **argv);
void android_main(android_app *app) {
// Make sure glue isn't stripped.
app_dummy();
void android_main(android_app *) {
main(0, NULL);
}

View File

@ -17,9 +17,7 @@
#include "android_native_app_glue.h"
#include "animal_generated.h" // Includes "flatbuffers/flatbuffers.h".
void android_main(android_app *app) {
app_dummy();
void android_main(android_app *) {
flatbuffers::FlatBufferBuilder builder;
auto name = builder.CreateString("Dog");
auto sound = builder.CreateString("Bark");