Hi.

After some checking around, it seems that the file libs/debug.c isn't
used anymore. The file was created in 1998 as a debuging library, but
it seems to have been replaced by simpler solutions.

It's part of libfvwm.a, and the *.c code is surrounded by a #ifdef
DEBUG, so never gets compiled. The whole file is "empty" at the
moment, except for an int variable that is there (outside the #ifdef)
expressly to prevent an empty file, as some compilers don't like that
(it's written on the coments). On the other hand, the header file
fvwmlib.h has its macros and structs allways defined, (but there is no
compiled code!). Nothing is ever used, so I think it's safe to remove
it.

These are the only places where you find the macros (which need to be removed):
- DB() is in a #if 0 part of module_interface.c (but the rest of the
file already uses the DBUG macro) and in focus.
- __FILE__ and __LINE__ is in a ifdef'ed to 0 part of focus.h where
alternative debuging macros are defined.

It's a big decision to remove a whole file, so I need a second
opinion.. Is the file still useful or may I remove it?

Cheers
 Renato

Reply via email to