cppcheck fixes discovered by Andrew
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / formatwindow.C
index 67f7416df1d29c6308e7bc0a3f0795cfb49058bb..c3726c3c8edb4a448d7afe417dc0f7a1c3623b08 100644 (file)
@@ -142,6 +142,7 @@ FormatQuality::~FormatQuality()
 int FormatQuality::handle_event()
 {
        asset->quality = get_value();
+return 0;
 }
 
 
@@ -152,6 +153,7 @@ FormatBits::~FormatBits() {}
 int FormatBits::handle_event()
 {
        asset->bits = get_bits();
+return 0;
 }
 
 
@@ -162,6 +164,7 @@ FormatDither::~FormatDither() {}
 int FormatDither::handle_event()
 {
        *dither = get_value();
+return 0;
 }
 
 
@@ -174,6 +177,7 @@ FormatSigned::~FormatSigned() {}
 int FormatSigned::handle_event()
 {
        asset->signed_ = get_value();
+return 0;
 }
 
 
@@ -188,6 +192,7 @@ int FormatHILO::handle_event()
 {
        asset->byte_order = get_value() ^ 1;
        lohi->update(get_value() ^ 1);
+return 0;
 }
 
 FormatLOHI::FormatLOHI(int x, int y, FormatHILO *hilo, Asset *asset)
@@ -202,5 +207,6 @@ int FormatLOHI::handle_event()
 {
        asset->byte_order = get_value();
        hilo->update(get_value() ^ 1);
+return 0;
 }