bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/tools/clouseau.git/commit/?id=a2af39e8cdb4cdb8726172d8d792fbd2206817a9
commit a2af39e8cdb4cdb8726172d8d792fbd2206817a9 Author: Shuhrat Dehkanov <[email protected]> Date: Fri Dec 16 09:38:24 2016 +0100 Remove redundant addition operator Reviewers: marcelhollerbach, cedric, minkyu, bu5hm4n Reviewed By: minkyu, bu5hm4n Subscribers: bu5hm4n, minkyu Differential Revision: https://phab.enlightenment.org/D4481 --- src/lib/clouseau_data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/clouseau_data.c b/src/lib/clouseau_data.c index 74a7b83..037e156 100644 --- a/src/lib/clouseau_data.c +++ b/src/lib/clouseau_data.c @@ -580,7 +580,7 @@ clouseau_data_packet_compose(const char *p_type, void *data, e_size32 = (uint32_t) e_size; /* Allocate buffer to hold whole packet data */ - t_size = sizeof(e_size32) + /* encoding size of bmp_info_st */ + t_size = sizeof(e_size32) /* encoding size of bmp_info_st */ + e_size /* Encoded bmp_info_st */ + sizeof(e_size32) /* bmp-blob-size */ + blob_size; /* The BMP blob data */ --
