Borland Warnings in configuration.c
Status: Inactive
Brought to you by:
lauras
Borland BCC32 compiler version 5.6.4 produces the
following warning when compiling configuration.c from
the CVS.
Warning W8001 ..\..\..\..\libmss\configuration.c 219:
Superfluous & with function in function
mss_get_configuration
Here is the explanation from the Borland Help file:
W8001 Superfluous & with function
An address-of operator (&) is not needed with function
name; any such operators are discarded.
Logged In: YES
user_id=250965
Warning W8001 ..\..\..\..\libmss\configuration.c 219:
Superfluous & with function in function mss_get_configuration
I changed line 219 to
dcflist_create(&mss_config_error, free);
Index: configuration.c
RCS file: /cvsroot/libmss/libmss/configuration.c,v
retrieving revision 1.2
diff -r1.2 configuration.c
219c219
< dcflist_create(&mss_config_error, &free);
---
> dcflist_create(&mss_config_error, free);