- Minor fixer to remove compiler warnings for ARMCC
diff --git a/include/polarssl/version.h b/include/polarssl/version.h
index 246d163..319f85a 100644
--- a/include/polarssl/version.h
+++ b/include/polarssl/version.h
@@ -58,7 +58,7 @@
* \return The constructed version number in the format
* MMNNPP00 (Major, Minor, Patch).
*/
-unsigned int version_get_number();
+unsigned int version_get_number( void );
/**
* Get the version string ("x.y.z").
diff --git a/library/rsa.c b/library/rsa.c
index 1a6a162..bc3c8bf 100644
--- a/library/rsa.c
+++ b/library/rsa.c
@@ -1000,7 +1000,6 @@
return( 0 );
else
return( POLARSSL_ERR_RSA_VERIFY_FAILED );
- break;
#endif
default:
diff --git a/library/x509parse.c b/library/x509parse.c
index 74c4fd5..c5da0fc 100644
--- a/library/x509parse.c
+++ b/library/x509parse.c
@@ -91,7 +91,6 @@
default:
return( POLARSSL_ERR_ASN1_INVALID_LENGTH );
- break;
}
}