warning 217:loose indentation
I'm having some problems with this warning,i'm modifying a plugin,and when i put this:
Code:
new cfgdir[64]what am i doing wrong? Thx |
Re: warning 217:loose indentation
Nothing there looks wrong, maybe post more code?
|
Re: warning 217:loose indentation
Wow...loose identification is a WARNING and the plugin will still compile and should work. Just use the amxx studio and use auto indenter and it should fix 99.9% of indention problems correctly.
|
Re: warning 217:loose indentation
const a = 64
new cfgdir[a] it should work |
Re: warning 217:loose indentation
Quote:
like kmal2t said, loose indentation is only a warning and won't affect plugin performance. simple solution is to use an auto indenter. what it means though is that the number of spaces/tabs is not the correct amount from the previous line. a simple guide to go by to never run into this is, for anytime code can be surrounded by brackets ({}) add another tab. Code:
if(blah) |
| All times are GMT -4. The time now is 21:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.