removed unnecessary code in some initialization code.

added errnum to some open functions
This commit is contained in:
2015-06-12 13:11:50 +00:00
parent 7675a86234
commit 26440f1a96
22 changed files with 75 additions and 62 deletions

View File

@ -1146,7 +1146,7 @@ int Awk::open ()
qse_awk_errnum_t errnum;
this->awk = qse_awk_open (this->getMmgr(), QSE_SIZEOF(xtn_t), &prm, &errnum);
if (this->awk == QSE_NULL)
if (!this->awk)
{
this->setError (errnum);
return -1;