esp-idf/components/esp_ringbuf
Pieter du Preez 496bfe3842 Initialized some uninitialized variables in rtc_clk.c and ringbuf.c.
The following 2 compiler warnings are only reproducible when setting:
   OPTIMIZATION_FLAGS = -Ofast

esp-idf/components/soc/esp32/rtc_clk.c:
In function 'rtc_clk_cpu_freq_get':
esp-idf/components/soc/esp32/rtc_clk.c:506:12:
error: 'freq' may be used uninitialized in this function
[-Werror=maybe-uninitialized]
	return freq;

esp-idf/components/esp_ringbuf/ringbuf.c:
In function 'xRingbufferReceiveSplitFromISR':
esp-idf/components/esp_ringbuf/ringbuf.c:934:26:
error: 'pvTempTailItem' may be used uninitialized in this function
[-Werror=maybe-uninitialized]
	*ppvTailItem = pvTempTailItem;

Closes https://github.com/espressif/esp-idf/pull/2878
2019-01-23 16:47:23 +05:30
..
include/freertos
test unity: separate common and IDF specific functionality 2018-11-19 12:36:31 +08:00
CMakeLists.txt tools: implement linker script generation 2018-11-16 12:42:02 +08:00
component.mk tools: implement linker script generation 2018-11-16 12:42:02 +08:00
linker.lf tools: implement linker script generation 2018-11-16 12:42:02 +08:00
ringbuf.c Initialized some uninitialized variables in rtc_clk.c and ringbuf.c. 2019-01-23 16:47:23 +05:30