]> git.sur5r.net Git - openocd/commitdiff
- remove cygwin build warnings in at91sam3.c
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 30 Jun 2009 21:13:53 +0000 (21:13 +0000)
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 30 Jun 2009 21:13:53 +0000 (21:13 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@2434 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/flash/at91sam3.c

index fda279699dfeb92fb63059aa681c29bda5cc102a..aa1eb678dce7278c296a2a3bbe8dbc6cd1e07337 100644 (file)
@@ -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) {