[Home]

Summary:ASTERISK-08115: [PATCH] chan_iax2.c remove useless #ifdef
Reporter:Julien Goodwin (julieng)Labels:
Date Opened:2006-11-12 08:42:43.000-0600Date Closed:2006-11-12 13:22:50.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) chan_iax2.c-removedefines.patch
( 1) chan_iax2.c-removefreebsdif.patch
Description:In the function iax2_show_firmware(int fd, int argc, char *argv[]) there's an #if !defined(__FreeBSD__), however the two options are character identical so they can be removed.

This first patch just removes the useless #if, a second patch will remove the use of #defines completely as the format's are only used once and just serve to add obsfuction.
Comments:By: Russell Bryant (russell) 2006-11-12 13:22:49.000-0600

Your second patch has been added to the trunk in revision 47520.  Thanks!