uint32_t len_line_new = len_line + strlen(separator);
char line_new[len_line_new];
sprintf(line_new, "%s%s", line, separator);
- uint16_t x, y;
+ uint16_t x = 0;
+ uint16_t y;
uint32_t z;
for (z = 0, y = y_start; z < len_line_new; y++)
{
try_resize_winmap(win, y + 1 + 1, win->winmap_size.x);
}
}
- * offset = x;
+ *offset = x;
}
char type)
{
char * f_name = "write_def()";
- char * val_str;
+ char * val_str = NULL;
int test_val_str = 1;
if ('s' == type)
{
err_line_count = 0;
err_line(0 == linemax, "File is empty.");
char * token0 = NULL; /* For final token_to_entry() if while() stagnates. */
- char * token1;
+ char * token1 = NULL;
char * err_val = "No value given.";
while (try_fgets(err_line_line, linemax + 1, file, f_name))
{
int16_t diff_x = yx_cell->x - yx_eye->x;
uint8_t indent = yx_eye->y % 2;
char * dir = dir_from_delta(indent, diff_y, diff_x);
- char * dirs;
+ char * dirs = NULL;
if (1 == strlen(dir))
{
return strdup(dir);