I have a question, why do I always get that error code CS0414 in my project?,I have a question, why do I always get that error code in my project?

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Character : MonoBehaviour
{
Rigidbody rb;
float speed;

void Start()
{
    rb = GetComponent<Rigidbody>();
    speed = 10.0f;
}

void Update()
{
    if (Input.GetKey(KeyCode.RightArrow))
    {
        rb.velocity = new Vector3(rb.velocity.x + 0.03f, rb.velocity.y, rb.velocity.z);;
   
    }

    if (Input.GetKey(KeyCode.LeftArrow))
    {
        rb.velocity = new Vector3(rb.velocity.x - 0.03f, rb.velocity.y, rb.velocity.z);;
   
    }
}

}

,

As the warning states, you’ve assigned a value to the variable, but you’re not using it anywhere.