projects
/
platform
/
upstream
/
aspell.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2da662b
)
strict aliasing
author
Anas Nashif
<anas.nashif@intel.com>
Thu, 21 Feb 2013 18:06:04 +0000
(10:06 -0800)
committer
Anas Nashif
<anas.nashif@intel.com>
Thu, 21 Feb 2013 18:07:37 +0000
(10:07 -0800)
modules/speller/default/writable.cpp
patch
|
blob
|
history
diff --git
a/modules/speller/default/writable.cpp
b/modules/speller/default/writable.cpp
index
3d43628
..
5ec8806
100644
(file)
--- a/
modules/speller/default/writable.cpp
+++ b/
modules/speller/default/writable.cpp
@@
-294,7
+294,7
@@
static inline void set_sl(WordEntry & res, Str w)
static void soundslike_next(WordEntry * w)
{
- const Str *
& i = (const Str * &
)(w->intr[0]);
+ const Str *
i = (const Str *
)(w->intr[0]);
const Str * end = (const Str * )(w->intr[1]);
set_word(*w, *i);
++i;
@@
-721,7
+721,7
@@
WritableReplDict::Enum * WritableReplDict::detailed_elements() const {
static void repl_next(WordEntry * w)
{
- const Str *
& i = (const Str * &
)(w->intr[0]);
+ const Str *
i = (const Str *
)(w->intr[0]);
const Str * end = (const Str * )(w->intr[1]);
set_word(*w, *i);
++i;