I have a struct that contains two pointers, < head, iterator > both pointers point to another struct - Node.
typedef struct Map_t {
Node head;
Node iterator;
} Map_t;
typedef struct Node_t* Node;
struct Node_t {
MapDataElement Data;
MapKeyElement Key;
struct Node_t *next;
};
typedef struct Map_t *Map;
I want to make the iterator pointer point to the same position as head. heres Debbuging before and after runnning the line:
Before line

After line

As you can see, after running the line, the map->iterator still points to 0x0.. Why is that?
NULL(as evidenced by the other values changing), but Eclipse still shows it asNULL. Eclipse bug?