From 119939590d4216d968befd7039a3fe2e7dfc8f45 Mon Sep 17 00:00:00 2001 From: Borja Ferrer Date: Tue, 1 Aug 2006 12:00:49 +0000 Subject: [PATCH] little fix --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4049 --- sourcepawn/vm/sp_reader.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sourcepawn/vm/sp_reader.c b/sourcepawn/vm/sp_reader.c index f61b63d6..92f8b9a3 100644 --- a/sourcepawn/vm/sp_reader.c +++ b/sourcepawn/vm/sp_reader.c @@ -87,6 +87,9 @@ sp_plugin_t *_ReadPlugin(sp_file_hdr_t *hdr, uint8_t *base, sp_plugin_t *plugin, if ((plugin->flags == SP_FILE_DEBUG) && (!(plugin->debug->files) || !(plugin->debug->lines) || !(plugin->debug->symbols))) goto return_error; + if (err) + *err = SP_ERR_NONE; + return plugin; return_error: