summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-30 21:13:53 +0000
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-30 21:13:53 +0000
commit2afb46ab3424d433cb376cffb4b2fe61f3cf8d80 (patch)
tree17617e0853f9291d8e2d13a12bf9db36e98d82d9 /src
parentad50a99d6a914ce66981ef3752a2b27a02a44f81 (diff)
downloadopenocd_libswd-2afb46ab3424d433cb376cffb4b2fe61f3cf8d80.tar.gz
openocd_libswd-2afb46ab3424d433cb376cffb4b2fe61f3cf8d80.tar.bz2
openocd_libswd-2afb46ab3424d433cb376cffb4b2fe61f3cf8d80.tar.xz
openocd_libswd-2afb46ab3424d433cb376cffb4b2fe61f3cf8d80.zip
- remove cygwin build warnings in at91sam3.c
git-svn-id: svn://svn.berlios.de/openocd/trunk@2434 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r--src/flash/at91sam3.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/flash/at91sam3.c b/src/flash/at91sam3.c
index fda27969..aa1eb678 100644
--- a/src/flash/at91sam3.c
+++ b/src/flash/at91sam3.c
@@ -1308,9 +1308,9 @@ sam3_explain_ckgr_plla(struct sam3_chip *pChip)
static void
sam3_explain_mckr(struct sam3_chip *pChip)
{
- uint32_t css, pres,fin;
- int pdiv;
- const char *cp;
+ uint32_t css, pres, fin = 0;
+ int pdiv = 0;
+ const char *cp = NULL;
css = sam3_reg_fieldname(pChip, "CSS", pChip->cfg.PMC_MCKR, 0, 2);
switch (css & 3) {