[svn] ksba - r301 - in trunk: . src
svn author wk
cvs at cvs.gnupg.org
Wed Jan 14 13:55:37 CET 2009
Author: wk
Date: 2009-01-14 13:55:36 +0100 (Wed, 14 Jan 2009)
New Revision: 301
Modified:
trunk/NEWS
trunk/configure.ac
trunk/src/ChangeLog
trunk/src/cms-parser.c
trunk/src/cms.c
trunk/src/ocsp.c
trunk/src/visibility.c
Log:
Remove return statements in void fucntions.
Mark some more unused args.
Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog 2009-01-09 12:41:50 UTC (rev 300)
+++ trunk/src/ChangeLog 2009-01-14 12:55:36 UTC (rev 301)
@@ -1,3 +1,19 @@
+2009-01-14 Werner Koch <wk at g10code.com>
+
+ * ocsp.c (ksba_ocsp_set_requestor, ksba_ocsp_hash_request)
+ (ksba_ocsp_set_sig_val, ksba_ocsp_add_cert): Mark unused args.
+ * cms-parser.c (_ksba_cms_parse_enveloped_data_part_2): Ditto.
+ * cms.c (ct_parse_data, ct_parse_digested_data)
+ (ct_parse_encrypted_data, ct_build_data, ct_build_digested_data)
+ (ct_build_encrypted_data): Ditto.
+
+ * visibility.c (ksba_cms_release, ksba_cms_set_hash_function)
+ (ksba_crl_release, ksba_crl_set_hash_function, ksba_ocsp_release)
+ (ksba_certreq_release, ksba_certreq_set_hash_function)
+ (ksba_reader_release, ksba_writer_release, ksba_asn_tree_release)
+ (ksba_asn_tree_dump, ksba_name_ref, ksba_name_release): No return
+ vor a void fucntion. Reported by Nelson H. F. Beebe.
+
2009-01-08 Werner Koch <wk at g10code.com>
* keyinfo.c (get_algorithm): Initialize R_PARM_POS, R_PARM_LEN and
@@ -1036,7 +1052,7 @@
(ksba_cert_get_subject): Ditto.
- Copyright 2001, 2002, 2003, 2004, 2005, 2008 g10 Code GmbH
+ Copyright 2001, 2002, 2003, 2004, 2005, 2008, 2009 g10 Code GmbH
This file is free software; as a special exception the author gives
unlimited permission to copy and/or distribute it, with or without
Modified: trunk/NEWS
===================================================================
--- trunk/NEWS 2009-01-09 12:41:50 UTC (rev 300)
+++ trunk/NEWS 2009-01-14 12:55:36 UTC (rev 301)
@@ -1,7 +1,11 @@
+Noteworthy changes in version 1.0.6
+------------------------------------------------
+
+
Noteworthy changes in version 1.0.5 (2009-01-09)
------------------------------------------------
- * Minor big fixes.
+ * Minor bug fixes.
Noteworthy changes in version 1.0.4 (2008-09-22)
Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac 2009-01-09 12:41:50 UTC (rev 300)
+++ trunk/configure.ac 2009-01-14 12:55:36 UTC (rev 301)
@@ -24,8 +24,8 @@
# Remember to change the version number immediately *after* a release.
# Set my_issvn to "yes" for non-released code. Remember to run an
# "svn up" and "autogen.sh" right before creating a distribution.
-m4_define([my_version], [1.0.5])
-m4_define([my_issvn], [no])
+m4_define([my_version], [1.0.6])
+m4_define([my_issvn], [yes])
m4_define([svn_revision], m4_esyscmd([printf "%d" $(svn info 2>/dev/null \
| sed -n '/^Revision:/ s/[^0-9]//gp'|head -1)]))
Modified: trunk/src/cms-parser.c
===================================================================
--- trunk/src/cms-parser.c 2009-01-09 12:41:50 UTC (rev 300)
+++ trunk/src/cms-parser.c 2009-01-14 12:55:36 UTC (rev 301)
@@ -904,6 +904,7 @@
gpg_error_t
_ksba_cms_parse_enveloped_data_part_2 (ksba_cms_t cms)
{
+ (void)cms;
/* FIXME */
return 0;
}
Modified: trunk/src/cms.c
===================================================================
--- trunk/src/cms.c 2009-01-09 12:41:50 UTC (rev 300)
+++ trunk/src/cms.c 2009-01-14 12:55:36 UTC (rev 301)
@@ -1878,6 +1878,7 @@
static gpg_error_t
ct_parse_data (ksba_cms_t cms)
{
+ (void)cms;
return gpg_error (GPG_ERR_NOT_IMPLEMENTED);
}
@@ -2033,6 +2034,7 @@
static gpg_error_t
ct_parse_digested_data (ksba_cms_t cms)
{
+ (void)cms;
return gpg_error (GPG_ERR_NOT_IMPLEMENTED);
}
@@ -2040,6 +2042,7 @@
static gpg_error_t
ct_parse_encrypted_data (ksba_cms_t cms)
{
+ (void)cms;
return gpg_error (GPG_ERR_NOT_IMPLEMENTED);
}
@@ -2052,6 +2055,7 @@
static gpg_error_t
ct_build_data (ksba_cms_t cms)
{
+ (void)cms;
return gpg_error (GPG_ERR_NOT_IMPLEMENTED);
}
@@ -3263,6 +3267,7 @@
static gpg_error_t
ct_build_digested_data (ksba_cms_t cms)
{
+ (void)cms;
return gpg_error (GPG_ERR_NOT_IMPLEMENTED);
}
@@ -3270,6 +3275,7 @@
static gpg_error_t
ct_build_encrypted_data (ksba_cms_t cms)
{
+ (void)cms;
return gpg_error (GPG_ERR_NOT_IMPLEMENTED);
}
Modified: trunk/src/ocsp.c
===================================================================
--- trunk/src/ocsp.c 2009-01-09 12:41:50 UTC (rev 300)
+++ trunk/src/ocsp.c 2009-01-14 12:55:36 UTC (rev 301)
@@ -335,6 +335,8 @@
gpg_error_t
ksba_ocsp_set_requestor (ksba_ocsp_t ocsp, ksba_cert_t cert)
{
+ (void)ocsp;
+ (void)cert;
return gpg_error (GPG_ERR_NOT_IMPLEMENTED);
}
@@ -773,6 +775,9 @@
size_t length),
void *hasher_arg)
{
+ (void)ocsp;
+ (void)hasher;
+ (void)hasher_arg;
return gpg_error (GPG_ERR_NOT_IMPLEMENTED);
}
@@ -781,6 +786,8 @@
ksba_ocsp_set_sig_val (ksba_ocsp_t ocsp,
ksba_const_sexp_t sigval)
{
+ (void)ocsp;
+ (void)sigval;
return gpg_error (GPG_ERR_NOT_IMPLEMENTED);
}
@@ -788,6 +795,8 @@
gpg_error_t
ksba_ocsp_add_cert (ksba_ocsp_t ocsp, ksba_cert_t cert)
{
+ (void)ocsp;
+ (void)cert;
return gpg_error (GPG_ERR_NOT_IMPLEMENTED);
}
Modified: trunk/src/visibility.c
===================================================================
--- trunk/src/visibility.c 2009-01-09 12:41:50 UTC (rev 300)
+++ trunk/src/visibility.c 2009-01-14 12:55:36 UTC (rev 301)
@@ -319,7 +319,7 @@
void
ksba_cms_release (ksba_cms_t cms)
{
- return _ksba_cms_release (cms);
+ _ksba_cms_release (cms);
}
@@ -441,7 +441,7 @@
void (*hash_fnc)(void *, const void *, size_t),
void *hash_fnc_arg)
{
- return _ksba_cms_set_hash_function (cms, hash_fnc, hash_fnc_arg);
+ _ksba_cms_set_hash_function (cms, hash_fnc, hash_fnc_arg);
}
@@ -555,7 +555,7 @@
void
ksba_crl_release (ksba_crl_t crl)
{
- return _ksba_crl_release (crl);
+ _ksba_crl_release (crl);
}
@@ -572,7 +572,7 @@
const void *, size_t),
void *hash_fnc_arg)
{
- return _ksba_crl_set_hash_function (crl, hash_fnc, hash_fnc_arg);
+ _ksba_crl_set_hash_function (crl, hash_fnc, hash_fnc_arg);
}
@@ -662,7 +662,7 @@
void
ksba_ocsp_release (ksba_ocsp_t ocsp)
{
- return _ksba_ocsp_release (ocsp);
+ _ksba_ocsp_release (ocsp);
}
@@ -829,7 +829,7 @@
void
ksba_certreq_release (ksba_certreq_t cr)
{
- return _ksba_certreq_release (cr);
+ _ksba_certreq_release (cr);
}
@@ -845,7 +845,7 @@
void (*hash_fnc)(void *, const void *, size_t),
void *hash_fnc_arg)
{
- return _ksba_certreq_set_hash_function (cr, hash_fnc, hash_fnc_arg);
+ _ksba_certreq_set_hash_function (cr, hash_fnc, hash_fnc_arg);
}
@@ -903,7 +903,7 @@
void
ksba_reader_release (ksba_reader_t r)
{
- return _ksba_reader_release (r);
+ _ksba_reader_release (r);
}
@@ -989,7 +989,7 @@
void
ksba_writer_release (ksba_writer_t w)
{
- return _ksba_writer_release (w);
+ _ksba_writer_release (w);
}
@@ -1092,7 +1092,7 @@
void
ksba_asn_tree_release (ksba_asn_tree_t tree)
{
- return _ksba_asn_tree_release (tree);
+ _ksba_asn_tree_release (tree);
}
@@ -1100,7 +1100,7 @@
void
ksba_asn_tree_dump (ksba_asn_tree_t tree, const char *name, FILE *fp)
{
- return _ksba_asn_tree_dump (tree, name, fp);
+ _ksba_asn_tree_dump (tree, name, fp);
}
@@ -1176,14 +1176,14 @@
void
ksba_name_ref (ksba_name_t name)
{
- return _ksba_name_ref (name);
+ _ksba_name_ref (name);
}
void
ksba_name_release (ksba_name_t name)
{
- return _ksba_name_release (name);
+ _ksba_name_release (name);
}
More information about the Gnupg-commits
mailing list