summaryrefslogtreecommitdiff
path: root/src/flash/at91sam3.c
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-09-23 07:14:03 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-09-23 07:14:03 +0000
commit7393fcfc900b720271ab048a0e0b441897a97a37 (patch)
tree8ce793842f5aa55c2b82d9c8e5270b8a1401d6af /src/flash/at91sam3.c
parent6521b75ec2ae41d641910209f0c61b98d34a0c94 (diff)
downloadopenocd+libswd-7393fcfc900b720271ab048a0e0b441897a97a37.tar.gz
openocd+libswd-7393fcfc900b720271ab048a0e0b441897a97a37.tar.bz2
openocd+libswd-7393fcfc900b720271ab048a0e0b441897a97a37.tar.xz
openocd+libswd-7393fcfc900b720271ab048a0e0b441897a97a37.zip
Nico Coesel <ncoesel@dealogic.nl> 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
Diffstat (limited to 'src/flash/at91sam3.c')
-rw-r--r--src/flash/at91sam3.c2
1 files changed, 1 insertions, 1 deletions
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;