diff --git a/libexif/huawei/exif-mnote-data-huawei.c b/libexif/huawei/exif-mnote-data-huawei.c index d59556e562449b83ea0af4423dfa234ea23816dd..2cb445c8e6bb8aba4ce85bd76438e6bc9884f7b9 100644 --- a/libexif/huawei/exif-mnote-data-huawei.c +++ b/libexif/huawei/exif-mnote-data-huawei.c @@ -95,7 +95,9 @@ exif_mnote_data_huawei_set_offset (ExifMnoteData *n, unsigned int o) static void exif_mnote_data_huawei_malloc_size_data (ExifMnoteData *ne, unsigned int *malloc_size) { - if (!ne) return; + if (!ne) { + return; + } ExifMnoteDataHuawei *n = (ExifMnoteDataHuawei *) ne; if (!n) { exif_log (ne->log, EXIF_LOG_CODE_CORRUPT_DATA, "ExifMnoteHuawei", "n is NULL"); @@ -370,7 +372,9 @@ exif_mnote_data_huawei_load_data (ExifMnoteData *ne, const unsigned char *buf, u static void exif_mnote_data_huawei_load (ExifMnoteData *ne, const unsigned char *buf, unsigned int buf_size) { - if (!ne) return; + if (!ne) { + return; + } unsigned int head_offset = 6; ExifMnoteDataHuawei *n = (ExifMnoteDataHuawei *) ne; if (!n || !buf || !buf_size) {