/* Parse the headers (1st line) of the file which may influence the regex used. */
void parse_headers(char *ptr)
{
- char *h, *regstr;
+ char *regstr;
assert(ptr != NULL);
while (ptr != NULL && *ptr != '\0') {
exttype *newheader;
/* The new color structure. */
- bool cancelled = FALSE;
- /* The start expression was bad. */
if (*ptr != '"') {
rcfile_error(
{
undo *u = openfile->undotop;
filestruct *f = openfile->current, *t;
- filestruct *oldcutbuffer = cutbuffer, *oldcutbottom = cutbottom;
- int len = 0, i;
+ int len = 0;
char *undidmsg, *data;
for (; u != NULL && u->next != openfile->current_undo; u = u->next)
/* Add a new undo struct to the top of the current pile */
void add_undo(undo_type current_action)
{
- undo *u, *cutu;
+ undo *u;
char *data;
openfilestruct *fs = openfile;
static undo *last_cutu = NULL; /* Last thing we cut to set up the undo for uncut */