cleanup and fix for release builds

This commit is contained in:
Eric House 2024-04-26 09:39:39 -07:00
parent 21990ece1c
commit 18bbc37516
2 changed files with 5 additions and 3 deletions

View file

@ -1,6 +1,6 @@
/* -*- compile-command: "find-and-gradle.sh inXw4dDeb"; -*- */
/*
* Copyright 2010 by Eric House (xwords@eehouse.org). All rights
* Copyright 2010 - 2024 by Eric House (xwords@eehouse.org). All rights
* reserved.
*
* This program is free software; you can redistribute it and/or
@ -72,7 +72,7 @@ public class FirstRunDialog extends XWDialogFragment {
// }
// }
});
view.getSettings().setJavaScriptEnabled( true ); // for surveymonkey
// view.getSettings().setJavaScriptEnabled( true ); // for surveymonkey
view.loadUrl("file:///android_asset/changes.html");
return LocUtils.makeAlertBuilder( context )

View file

@ -888,9 +888,11 @@ dvc_haveLegalPhonies( XW_DUtilCtxt* dutil, XWEnv xwe )
}
static void
freeOnePhony( DLHead* elem, void* closure )
freeOnePhony( DLHead* elem, void* XP_UNUSED_DBG(closure) )
{
#ifdef DEBUG
PhoniesMapState* ms = (PhoniesMapState*)closure;
#endif
const PhoniesDataStrs* pds = (PhoniesDataStrs*)elem;
XP_FREE( ms->dutil->mpool, pds->phony );
XP_FREE( ms->dutil->mpool, elem );