Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign

cc code refine

(1/1)

ollydbg:
When reviewing the cc's code, I think these can be refined.

1, in parser.cpp line 539

--- Code: ---        if (!m_IsPriority)
        {
            TRACE(_T("Parse() : Parallel Parsing %s"), bufferOrFilename.wx_str());

            // Add a task for all project files
            if (m_IsFirstBatch)
            {
                m_IsFirstBatch = false;
                m_PoolTask.push(PTVector());
            }

            if (m_IsParsing)
                m_Pool.AddTask(thread, true);
            else
                m_PoolTask.back().push_back(thread);
        }
        else if (m_IsPriority)

--- End code ---

m_IsPriority is a bool variable.

2, in tokenizer.h line 470

--- Code: ---bool                 m_IsOperator;
--- End code ---
this variable is not used any more.

oBFusCATed:
Please provide a patch which removes it, so people can test it:)

Loaden:
Done!  :D

ollydbg:

--- Quote from: Loaden on May 29, 2011, 09:34:28 am ---Done!  :D

--- End quote ---
thank you loaden!!

Navigation

[0] Message Index

Go to full version