warning: 'de' may be used uninitialized in this function