Oke. What will change if I add that capacitor?
In the best case, nothing. In the worst case, maybe you trigger an internal test mode or similar and break something. The IC doesn't require it and the pins are marked as NC, so likely the former.
or an error in the pcb assembly ?
Look at the datasheet I posted and compare with those for QMC5883L and HMC5883L.