[gnome-keyring] egg: Port cosmetic fixes to egg-secure-memory.c from libsecret
- From: Daiki Ueno <dueno src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-keyring] egg: Port cosmetic fixes to egg-secure-memory.c from libsecret
- Date: Fri, 23 Mar 2018 14:03:02 +0000 (UTC)
commit a6a5c89dfe81abb1541bfd824087c910451767f8
Author: Daiki Ueno <dueno src gnome org>
Date: Fri Mar 23 15:01:32 2018 +0100
egg: Port cosmetic fixes to egg-secure-memory.c from libsecret
egg/egg-secure-memory.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/egg/egg-secure-memory.c b/egg/egg-secure-memory.c
index 4d8b3cc..bc82184 100644
--- a/egg/egg-secure-memory.c
+++ b/egg/egg-secure-memory.c
@@ -15,7 +15,7 @@
You should have received a copy of the GNU Library General Public
License along with the Gnome Library; see the file COPYING.LIB. If not,
- <http://www.gnu.org/licenses/>.
+ see <http://www.gnu.org/licenses/>.
Author: Stef Walter <stef memberwebs com>
*/
@@ -655,8 +655,8 @@ memcpy_with_vbits (void *dest,
#ifdef WITH_VALGRIND
if (vbits_setup == 1) {
- VALGRIND_SET_VBITS (dest, vbits, length);
- VALGRIND_SET_VBITS (src, vbits, length);
+ (void)VALGRIND_SET_VBITS (dest, vbits, length);
+ (void)VALGRIND_SET_VBITS (src, vbits, length);
}
free (vbits);
#endif
@@ -1299,7 +1299,7 @@ egg_secure_records (unsigned int *count)
if (records == NULL)
break;
- /* Make sure this actualy accounts for all memory */
+ /* Make sure this actually accounts for all memory */
ASSERT (total == block->n_words);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]