Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions src/program.c
Original file line number Diff line number Diff line change
Expand Up @@ -8868,7 +8868,7 @@ int store_prog_string(struct pike_string *str)
return Pike_compiler->new_program->num_strings-1;
}

/* NOTE: O(n²)! */
/* NOTE: O(²)! */
int store_constant(const struct svalue *foo,
int equal,
struct pike_string *UNUSED(constant_name))
Expand Down Expand Up @@ -11365,7 +11365,6 @@ void yyexplain_not_compatible(int severity_level,
struct program *a, struct program *b)
{
int e;
int res = 1;
int swapped = 0;
INT_TYPE a_line = 0;
INT_TYPE b_line = 0;
Expand Down Expand Up @@ -11567,7 +11566,6 @@ void string_builder_explain_not_compatible(struct string_builder *s,
struct program *b)
{
int e;
int res = 1;
DECLARE_CYCLIC();

/* Optimize the loop somewhat */
Expand Down Expand Up @@ -11620,7 +11618,6 @@ void string_builder_explain_not_compatible(struct string_builder *s,
}
}
END_CYCLIC();
return;
}

/* FIXME: code duplication of yyexplain_not_implements() above! */
Expand Down
1 change: 0 additions & 1 deletion src/sprintf.c
Original file line number Diff line number Diff line change
Expand Up @@ -3091,7 +3091,6 @@ void f___handle_sprintf_format(INT32 args)
{
struct pike_string *attr;
struct mapping *state;
int found = 0;

#if 0
fprintf(stderr, "f___handle_sprintf_format(%d)\n", args);
Expand Down