0003-COMP-Silence-unused-variable-warnings.patch

eunyoung kim, 2012-07-03 09:56 pm

Download (3.1 kB)

 
b/modules/core/include/opencv2/core/operations.hpp
866 866
template<typename _Tp> struct CV_EXPORTS Matx_FastSolveOp<_Tp, 2, 1>
867 867
{
868 868
    bool operator()(const Matx<_Tp, 2, 2>& a, const Matx<_Tp, 2, 1>& b,
869
                    Matx<_Tp, 2, 1>& x, int method) const
869
                    Matx<_Tp, 2, 1>& x, int /*NOT USED method */) const
870 870
    {
871 871
        _Tp d = determinant(a);
872 872
        if( d == 0 )
......
1244 1244
    return conjugate(*this);
1245 1245
}
1246 1246

  
1247
template<typename _Tp, int cn> inline Vec<_Tp, cn> Vec<_Tp, cn>::cross(const Vec<_Tp, cn>& v) const
1247
template<typename _Tp, int cn> inline Vec<_Tp, cn> Vec<_Tp, cn>::cross(const Vec<_Tp, cn>& /*NOT USED v */) const
1248 1248
{
1249 1249
    CV_Error(CV_StsError, "for arbitrary-size vector there is no cross-product defined");
1250 1250
    return Vec<_Tp, cn>();
b/modules/flann/include/opencv2/flann/lsh_index.h
258 258
     * @param k_nn the number of nearest neighbors
259 259
     * @param checked_average used for debugging
260 260
     */
261
    void getNeighbors(const ElementType* vec, bool do_radius, float radius, bool do_k, unsigned int k_nn,
262
                      float& checked_average)
261
    void getNeighbors(const ElementType* vec, bool /* NOT USED do_radius */, float radius, bool do_k, unsigned int k_nn,
262
                      float& /* NOT USED checked_average */)
263 263
    {
264 264
        static std::vector<ScoreIndexPair> score_index_heap;
265 265

  
b/modules/refman.rst
1
############################
2
OpenCV API Reference
3
############################
4

  
5
.. toctree::
6
   :maxdepth: 2
7

  
8
   core/doc/intro.rst
9
   core/doc/core.rst
10
   imgproc/doc/imgproc.rst
11
   highgui/doc/highgui.rst
12
   video/doc/video.rst
13
   calib3d/doc/calib3d.rst
14
   features2d/doc/features2d.rst
15
   objdetect/doc/objdetect.rst
16
   ml/doc/ml.rst
17
   flann/doc/flann.rst
18
   gpu/doc/gpu.rst
19
   photo/doc/photo.rst
20
   stitching/doc/stitching.rst
21
   nonfree/doc/nonfree.rst
22
   contrib/doc/contrib.rst
23
   legacy/doc/legacy.rst
24

  
0
-