Changeset 1056:e330166422ba in freeDiameter for libfdproto/ostr.c
- Timestamp:
- Apr 29, 2013, 1:30:07 PM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdproto/ostr.c
r1054 r1056 186 186 memory has the following meaning: 0: *id can be realloc'd. 1: *id must be malloc'd on output (was static) 187 187 */ 188 #if defined(DIAMID_IDNA_IGNORE) || defined(DIAMID_IDNA_REJECT) 189 GCC_DIAG_OFF("-Wunused-but-set-variable") 190 #endif 188 191 int fd_os_validate_DiameterIdentity(char ** id, size_t * inoutsz, int memory) 189 192 { 190 GCC_DIAG_OFF("-Wunused-but-set-variable")191 193 int gotsize = 0; 192 GCC_DIAG_ON("-Wunused-but-set-variable")193 194 194 195 TRACE_ENTRY("%p %p", id, inoutsz); … … 248 249 return 0; 249 250 } 251 #if defined(DIAMID_IDNA_IGNORE) || defined(DIAMID_IDNA_REJECT) 252 GCC_DIAG_ON("-Wunused-but-set-variable") 253 #endif 250 254 251 255 /* Analyze a DiameterURI and return its components.
Note: See TracChangeset
for help on using the changeset viewer.