mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-13 08:23:45 +02:00
add comments to suppres -Wimplicit-fallthrough warnings
This commit is contained in:
committed by
Jacek Jendrzej
parent
9e2a7d7f79
commit
971f3703a6
@@ -274,6 +274,7 @@ bool CScreenShot::SaveFile()
|
||||
break;
|
||||
default:
|
||||
printf("CScreenShot::SaveFile unsupported format %d, using jpeg\n", format);
|
||||
/* fall through */
|
||||
case FORMAT_JPG:
|
||||
ret = SaveJpg();
|
||||
break;
|
||||
@@ -517,6 +518,7 @@ void CScreenShot::MakeFileName(const t_channel_id channel_id)
|
||||
break;
|
||||
default:
|
||||
printf("CScreenShot::MakeFileName unsupported format %d, using jpeg\n", format);
|
||||
/* fall through */
|
||||
case FORMAT_JPG:
|
||||
strcat(fname, ".jpg");
|
||||
break;
|
||||
|
Reference in New Issue
Block a user