Fix uninitialized variables

This commit is contained in:
Daniel Zaoui 2018-06-04 13:43:58 +03:00
parent e215368501
commit 621dac67ce
2 changed files with 2 additions and 2 deletions

View File

@ -415,7 +415,7 @@ static const Ecore_Getopt optdesc = {
int main(int argc, char **argv)
{
int opt_args = 0, real__, port = -1;
int opt_args = 0, real__ = 1, port = -1;
char *src = NULL;
Eina_Value *ret__;
Eina_Bool want_quit = EINA_FALSE;

View File

@ -160,7 +160,7 @@ _shot_do(Evas *e)
if (!_disable_shots)
{
void *e_data;
void *e_data = NULL;
Evas_Object *snapshot = evas_object_image_filled_add(e);
if (!snapshot) return;
evas_object_image_snapshot_set(snapshot, EINA_TRUE);