VisualStudio2019でOpenCV+CUDAのビルド(static build)時の警告のメモ「warning C4702: 制御が渡らないコードです。」

これはまずそう・・・
せっかくコードが書いてあるのに、手前でbreakやreturnなどで実行されないコードがあるってやつです。
いらないコードならいいんですが(^◇^;
止まったりエラーが出るようなら調べるってことで(;^_^A アセアセ・・・

警告多すぎて、細かいところまで追うのはちょっと面倒ですね^^;

コンパイラの警告 (レベル 4) C4702

コンパイラの警告 (レベル 4) C4702
詳細情報: コンパイラの警告 (レベル 4) C4702
48>D:\opencv_contrib-master\modules\xfeatures2d\src\surf.cuda.cpp(55): warning C4702: 制御が渡らないコードです。

/* Your code... */

    cv::cuda::SURF_CUDA::SURF_CUDA() { throw_no_nonfree }

    //! the default constructor
    SURF_CUDA();
    //! the full constructor taking all the necessary parameters
    explicit SURF_CUDA(double _hessianThreshold, int _nOctaves=4,
         int _nOctaveLayers=2, bool _extended=false, float _keypointsRatio=0.01f, bool _upright = false);