if (png_ptr->warning_fn != NULL) (*(png_ptr->warning_fn))(png_ptr, (png_const_charp)(warning_message+offset));
if (png_ptr != NULL && png_ptr->warning_fn != NULL) (*(png_ptr->warning_fn))(png_ptr, warning_message+offset);
png_warning(png_structp png_ptr, png_const_charp warning_message){     int offset = 0;#ifdef PNG_ERROR_NUMBERS_SUPPORTED   if (png_ptr->flags&(PNG_FLAG_STRIP_ERROR_NUMBERS|PNG_FLAG_STRIP_ERROR_TEXT))#endif   {     if (*warning_message == '#')     {         for (offset=1; offset<15; offset++)            if (*(warning_message+offset) == ' ')                break;     }   }   if (png_ptr->warning_fn != NULL)      (*(png_ptr->warning_fn))(png_ptr,         (png_const_charp)(warning_message+offset));   else      png_default_warning(png_ptr, (png_const_charp)(warning_message+offset));}