<commit_before>#include <Elementary.h>
#ifdef HAVE_CONFIG_H
# include "elementary_config.h"
#endif
#ifndef ELM_LIB_QUICKLAUNCH

typedef struct _Custom_Effect Custom_Effect;

struct _Custom_Effect
{
   struct _size
     {
        Evas_Coord w, h;
     } from, to;
};

static void _custom_op(void *data, Elm_Transit *transit, double progress)
{
   if (!data) return;
   Evas_Coord w, h;
   Evas_Object *obj;
   const Eina_List *elist;

   Custom_Effect *custom_effect = data;
   const Eina_List *objs = elm_transit_objects_get(transit);

   w = custom_effect->from.w + (Evas_Coord) ((float)custom_effect->to.w * \
                                             (float)progress);
   h = custom_effect->from.h + (Evas_Coord) ((float)custom_effect->to.h * \
                                             (float)progress);

   if (progress < 0.5)
     {
        h = custom_effect->from.h + \
            (Evas_Coord) ((float)custom_effect->to.h * (float)progress * 2);<commit_msg>[Elementary] Cleanups as suggested by clang static analyzer.<commit_after>#include <Elementary.h>
#ifdef HAVE_CONFIG_H
# include "elementary_config.h"
#endif
#ifndef ELM_LIB_QUICKLAUNCH

typedef struct _Custom_Effect Custom_Effect;

struct _Custom_Effect
{
   struct _size
     {
        Evas_Coord w, h;
     } from, to;
};

static void _custom_op(void *data, Elm_Transit *transit, double progress)
{
   if (!data) return;
   Evas_Coord w, h;
   Evas_Object *obj;
   const Eina_List *elist;

   Custom_Effect *custom_effect = data;
   const Eina_List *objs = elm_transit_objects_get(transit);

   if (progress < 0.5)
     {
        h = custom_effect->from.h + \
            (Evas_Coord) ((float)custom_effect->to.h * (float)progress * 2);
{'fraction_non_alphanumeric': 0.11052631578947368, 'fraction_numerical': 0.0035087719298245615, 'mean_word_length': 2.9243119266055047, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3357587', 'n_tokens_mistral': 603, 'n_tokens_neox': 585, 'n_words': 130}