diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-10-31 06:52:37 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-10-31 06:52:37 +0000 |
commit | ecad9872fb8c50dc88e8298535603e04fd9cf8b4 (patch) | |
tree | e9c692cdce8a9624f73cd1bbe876062309761fb3 /libavutil/pca.c | |
parent | cb377ec55e975119312c3cc72b9e8924cbbcfc6e (diff) | |
download | ffmpeg-ecad9872fb8c50dc88e8298535603e04fd9cf8b4.tar.gz |
Initialize variable to silence the warning:
libavutil/pca.c:72: warning: âkâ may be used uninitialized in this function
Originally committed as revision 15760 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/pca.c')
-rw-r--r-- | libavutil/pca.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavutil/pca.c b/libavutil/pca.c index f2542f2be1..d21814cdff 100644 --- a/libavutil/pca.c +++ b/libavutil/pca.c @@ -67,7 +67,8 @@ void ff_pca_add(PCA *pca, double *v){ } int ff_pca(PCA *pca, double *eigenvector, double *eigenvalue){ - int i, j, k, pass; + int i, j, pass; + int k=0; const int n= pca->n; double z[n]; |