• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

作図ソフト dia の改良版


Commit MetaInfo

Revisão1ae7a9087756163a1b7b9af7ac4595b56edc3084 (tree)
Hora2014-09-08 03:17:46
AutorHans Breuer <hans@breu...>
CommiterHans Breuer

Mensagem de Log

[scan-build] Value stored to 'angle' is never read

prop_matrix.c:209:5: warning: Value stored to 'angle' is never read

angle = atan2 (prop->matrix->xy, prop->matrix->xx)*180/G_PI;
~

1 warning generated.

Mudança Sumário

Diff

--- a/lib/prop_matrix.c
+++ b/lib/prop_matrix.c
@@ -206,7 +206,6 @@ matrixprop_reset_widget(MatrixProperty *prop, GtkWidget *widget)
206206
207207 dia_matrix_get_angle_and_scales (prop->matrix, &a, &sx, &sy);
208208
209- angle = atan2 (prop->matrix->xy, prop->matrix->xx)*180/G_PI;
210209 angle = -a*180/G_PI;
211210 }
212211