From 7393fcfc900b720271ab048a0e0b441897a97a37 Mon Sep 17 00:00:00 2001 From: oharboe Date: Wed, 23 Sep 2009 07:14:03 +0000 Subject: Nico Coesel fix warnings. . I'm wondering why these didn't turn up earlier. Is everyone still using gcc 3.x? Or is the x86 version of gcc 4.x much more relaxed? git-svn-id: svn://svn.berlios.de/openocd/trunk@2749 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/flash/at91sam3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/flash/at91sam3.c') diff --git a/src/flash/at91sam3.c b/src/flash/at91sam3.c index aa1eb678..5edaa690 100644 --- a/src/flash/at91sam3.c +++ b/src/flash/at91sam3.c @@ -1609,7 +1609,7 @@ static int sam3_protect_check(struct flash_bank_s *bank) { int r; - uint32_t v; + uint32_t v=0; unsigned x; struct sam3_bank_private *pPrivate; -- cgit v1.2.3