[Digikam-devel] Re: Logic error

Andi Clemens andi.clemens at gmx.net
Sun Nov 21 19:40:57 GMT 2010


The same issue with CImg:

    //! Save an empty .cimg file with specified dimensions.
    static void save_empty_cimg(const char *const filename,
                                const unsigned int dx, const unsigned int 
dy=1,
                                const unsigned int dz=1, const unsigned int 
dv=1) {
      return CImgList<T>::save_empty_cimg(filename,1,dx,dy,dz,dv);
    }

    //! Save an empty .cimg file with specified dimensions.
    static void save_empty_cimg(cimg_std::FILE *const file,
                                const unsigned int dx, const unsigned int 
dy=1,
                                const unsigned int dz=1, const unsigned int 
dv=1) {
      return CImgList<T>::save_empty_cimg(file,1,dx,dy,dz,dv);
    }



Andi Clemens
-----------------
www.digikam.org

On Sunday 21 November 2010 16:19:58 Andi Clemens wrote:
> Hi,
> 
> void TemplateSelector::setTemplate(const Template& t) has two return
> statements in it, although the return type is void.
> 
> We should change this.
> 
> Andi
> _______________________________________________
> Digikam-devel mailing list
> Digikam-devel at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-devel



More information about the Digikam-devel mailing list