Re: [PATCH] regmap: debugfs: Fix compilation warning

From: Mark Brown
Date: Tue Jan 22 2013 - 01:41:29 EST


On Mon, Jan 21, 2013 at 03:36:55PM +0100, Vincent Stehlé wrote:
> This fixes the following compilation warning:

> - unsigned int i, ret;
> + unsigned int i, ret = 0;

This sort of fix is not a good idea, you're just shutting the warning up
without any sort of analysis explaining why it's generated in error. If
it's generating a spurious error that's a compiler bug.

Attachment: signature.asc
Description: Digital signature