Not so much as disabling a diagnostic as "circumventing" it.
On the other hand, if the coder knowingly initializes a variable that could better be left undefined, she/he can make note of it, preferably in the code and in a way that doesn't panic the code reviewers.
In reply to Re^4: declare and init a scalar
by RonW
in thread declare and init a scalar
by fionbarr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |