diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-03-16 00:08:32 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-03-16 00:08:32 +0100 |
commit | 025b9368f8d37f560f8dcd7503eb02a1701172a1 (patch) | |
tree | 6bd11f8685b4e7e420f3bc8be0c6ee665a9e3004 /lib/krb5.c | |
parent | 521e88e0094fc6339e33f0a158397da06926dac0 (diff) | |
download | curl-025b9368f8d37f560f8dcd7503eb02a1701172a1.tar.gz |
compiler warnings fixed
Use (void)[variable] to inhibit unused argument/variables warnings.
Diffstat (limited to 'lib/krb5.c')
-rw-r--r-- | lib/krb5.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/krb5.c b/lib/krb5.c index cedab1657..e711431cc 100644 --- a/lib/krb5.c +++ b/lib/krb5.c @@ -1,8 +1,8 @@ /* GSSAPI/krb5 support for FTP - loosely based on old krb4.c * - * Copyright (c) 1995, 1996, 1997, 1998, 1999, 2010 Kungliga Tekniska Högskolan + * Copyright (c) 1995, 1996, 1997, 1998, 1999 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). - * Copyright (c) 2004 - 2009 Daniel Stenberg + * Copyright (c) 2004 - 2011 Daniel Stenberg * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -124,10 +124,10 @@ krb5_decode(void *app_data, void *buf, int len, int level, static int krb5_overhead(void *app_data, int level, int len) { - /* no arguments are used, just init them to prevent compiler warnings */ - app_data = NULL; - level = 0; - len = 0; + /* no arguments are used */ + (void)app_data; + (void)level; + (void)len; return 0; } |