static void maybeUnregisterAndCloseFile(FILE *&f) { if (!f) return; MozillaUnRegisterDebugFILE(f); fclose(f); f = nullptr; }
static void maybeUnregisterAndCloseFile(FILE*& aFile) { if (!aFile) { return; } MozillaUnRegisterDebugFILE(aFile); fclose(aFile); aFile = nullptr; }