mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Removed even more warning that was found with -Wunused
- Removed test if HA_FT_WTYPE == HA_KEYTYPE_FLOAT as this never worked (HA_KEYTYPE_FLOAT is an enum) - Define HA_FT_MAXLEN to 126 (was tested before but never defined)
This commit is contained in:
@@ -45,7 +45,7 @@ typedef uchar byte;
|
||||
|
||||
/// partially copy-pasted stuff that should be moved elsewhere
|
||||
|
||||
#if UNALIGNED_RAM_ACCESS
|
||||
#ifdef UNALIGNED_RAM_ACCESS
|
||||
|
||||
/// pass-through wrapper
|
||||
template < typename T > inline T sphUnalignedRead ( const T & tRef )
|
||||
@@ -83,7 +83,7 @@ void sphUnalignedWrite ( void * pPtr, const T & tVal )
|
||||
*pDst++ = *pSrc++;
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif /* UNALIGNED_RAM_ACCESS */
|
||||
|
||||
#define SPHINXSE_MAX_ALLOC (16*1024*1024)
|
||||
|
||||
|
Reference in New Issue
Block a user