If you have an S-Corporation, this isn't an issue.
To avoid double-taxation for a C-corporation, you can bonus out all of the income to salary. If the C-Corporation has no income, the corporation also has a $0 tax liability. You, in turn, would show all the income as wages on your personal income tax return.
Waiting until year-end to take a salary, or paying an unreasonable salary and no dividends in the case of a C-Corp, can potentially lead to trouble, so make sure your salary is reasonable for the work you're doing.